码迷,mamicode.com
首页 >  
搜索关键字:example    ( 17798个结果)
leetcode 3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb"Output: 3 Explanation: The answer i ...
分类:其他好文   时间:2019-12-30 09:34:59    阅读次数:59
LeetCode 509. Fibonacci Number
原题链接在这里:https://leetcode.com/problems/fibonacci-number/ 题目: The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequenc ...
分类:其他好文   时间:2019-12-30 09:22:36    阅读次数:75
pyspark基础知识点
1. 查 1.1 行元素查询操作 像SQL那样打印列表前20元素,show函数内可用int类型指定要打印的行数: df.show() df.show(30) 以树的形式打印概要: df.printSchema() 获取头几行到本地: list = df.head(3) # Example: [Row ...
分类:其他好文   时间:2019-12-29 18:39:19    阅读次数:73
Oracle创表操作记录
Oracle表操作 主键,复合主键 create table example (id number primary key, name varchar2(20)); create table example1 (id number, name varchar2(20),primary key(id) ...
分类:数据库   时间:2019-12-29 16:50:24    阅读次数:85
GITHUB 的高效搜索方法
相信大多数人都用过GitHub,那么接下来我为大家分享几种可以高效搜索GitHub仓库的方式: 首先 GitHub中一个仓库一般构成由:author/repName ,项目简介,readme部分构成; 搜索条件可以根据不同部分进行搜索: 1. in:name example 对应仓库名称中含有 'e ...
分类:其他好文   时间:2019-12-29 15:18:24    阅读次数:61
Reactor系列(十四)buffer缓冲
#java#reactor#flux#buffer# 缓冲 视频讲解: https://www.bilibili.com/video/av81107026/ FluxMonoTestCase.java package com.example.reactor; import lombok.extern ...
分类:其他好文   时间:2019-12-29 14:35:06    阅读次数:76
[LC] 206. Reverse Linked List
Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow up: A linked list can be reversed either iterativ ...
分类:其他好文   时间:2019-12-29 12:44:23    阅读次数:52
线程同步的几种方法,join(),CountDownLatch、CyclicBarrier 、Semaphore
package com.example.demo.utils;import java.lang.reflect.Field;import java.util.concurrent.*;public class Test1 { static ThreadLocal threadLocal = new ...
分类:编程语言   时间:2019-12-29 11:07:00    阅读次数:116
多线程 Unsafe类的使用
Unsafe类提供了原子性操作CAS package com.example.demo.utils;import com.alibaba.druid.pool.DruidDataSource;import sun.misc.Unsafe;import java.lang.reflect.Field; ...
分类:编程语言   时间:2019-12-29 10:53:07    阅读次数:92
【leetcode】1302. Deepest Leaves Sum
题目如下: Given a binary tree, return the sum of values of its deepest leaves. Example 1: Constraints: The number of nodes in the tree is between 1 and 10 ...
分类:其他好文   时间:2019-12-29 10:38:07    阅读次数:72
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!