E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
example1
思维的认识(二)
列举几例:
Example1
“如果不是…就…”,这类话语几乎存在于生活的每时每刻,患得患失的人总在愚蠢地抱怨周遭的一切。前段时间中国股民迎来了振奋人心的大牛市,那段时间许多人号称傻子都能赚钱。
不喜欢帕格尼尼
·
2020-02-19 02:04
GCP坑记录
keytype+keyfingerprint+username,这个username真的大坑,这里单独记录一下,用的是类似
[email protected]
然后xshell的登录框里user填写
example1
Fetiz
·
2020-02-15 05:26
LeetCode #14 Longest Common Prefix 最长公共前缀
Writeafunctiontofindthelongestcommonprefixstringamongstanarrayofstrings.Ifthereisnocommonprefix,returnanemptystring"".Example:
Example1
air_melt
·
2020-02-14 06:27
Swift-Median of Two Sorted Arrays
Therearetwosortedarraysnums1andnums2ofsizemandnrespectively.Findthemedianofthetwosortedarrays.TheoverallruntimecomplexityshouldbeO(log(m+n)).
Example1
FlyElephant
·
2020-02-12 14:22
Sort Characters By Frequency
*
Example1
:*Input:"tree"Output:"eert"Explanation:'e'appearstwicewhile'r'and't'bothappearonce.So'e'mustappearbeforeboth'r'and't
BLUE_fdf9
·
2020-02-08 15:34
LeetCode #350 Intersection of Two Arrays II 两个数组的交集II
Description:Giventwoarrays,writeafunctiontocomputetheirintersection.Example:
Example1
:Input:nums1=[1,2,2,1
air_melt
·
2020-02-08 14:24
LeetCode #1108 Defanging an IP Address IP 地址无效化
with"[.]".Example:
Example1
:Input:address="1.1.1.1"Output:"1[.]1[.]1[.]1"Example2:In
air_melt
·
2020-02-06 21:48
136. Single Number
Example1
:I
littledy
·
2020-02-05 22:00
14. Longest Common Prefix
Writeafunctiontofindthelongestcommonprefixstringamongstanarrayofstrings.Ifthereisnocommonprefix,returnanemptystring"".
Example1
麻吕
·
2020-02-05 03:55
【LeetCode-Algorithms】14. Longest Common Prefix
Writeafunctiontofindthelongestcommonprefixstringamongstanarrayofstrings.Ifthereisnocommonprefix,returnanemptystring"".
Example1
blue_smile
·
2020-02-02 14:00
1108. Defanging an IP Address
with"[.]".
Example1
:Input:address="1.1.1.1"Output:"1[.]1
随时学丫
·
2020-02-01 14:49
[LeetCode] 930. Binary Subarrays With Sum 二元子数组之和
Example1
:Input:A=[1,0,1,0,1],S=2Output:4Explanation:The4subarraysareboldedbelow:[1,0,1,0,1][1,0,1,0,1
Grandyang
·
2020-01-31 14:00
[LeetCode] 98. Validate Binary Search Tree
例子,
Example1
:2/\13Input: [2,1,3]Output:trueExample2:5/\14 /\ 36Input:[5,1,4,null,null,3,6]Output:falseE
朝鲜冷面杀手
·
2020-01-31 03:00
[LeetCode] 938. Range Sum of BST
例子,
Example1
:Input:root=[10,5,15,3,7,null,18],L=7,R=15Output:32Example2:Input:root=[10,5,15,3,7,13,18,1
朝鲜冷面杀手
·
2020-01-30 03:00
[LeetCode] 13. Roman to Integer
例子,
Example1
:Input: "III"Output:3Example2:Input: "IV"Output:4Example3:Input: "IX"Output:9Example4:Input
朝鲜冷面杀手
·
2020-01-29 03:00
[LeetCode] 12. Integer to Roman
规则如下,SymbolValueI1V5X10L50C100D500M1000例子,
Example1
:Input: 3Output:"III"Example2:Input: 4Output:"IV"Example3
朝鲜冷面杀手
·
2020-01-29 02:00
[LeetCode] 451. Sort Characters By Frequency
例子,
Example1
:Input:"tree"Output:"eert"Explanation:'e'appearstwicewhile'r'and't'bothappearonce.So'e'mustappearbeforeboth'r'and't
朝鲜冷面杀手
·
2020-01-23 13:00
[LeetCode] 509. Fibonacci Number
例子,
Example1
:Input:2Output:1Explanation:F(2)=F(1)+F(0)=1+0=1.Example2:Input:3Output:2Explanation:F(3)=
朝鲜冷面杀手
·
2020-01-22 05:00
[LeetCode] 617. Merge Two Binary Trees
例子,
Example1
:Input:Tree1Tree212/\/\3213/\\547Output:Mergedtree:3/\45/\\547两种解法,BFS和DFS。
朝鲜冷面杀手
·
2020-01-21 02:00
[LeetCode] 9. Palindrome Number
例子,
Example1
:Input:121Output:trueExample2:Input:-121Output:falseExplanation:Fromlefttoright,itreads-121
朝鲜冷面杀手
·
2020-01-16 13:00
[LeetCode] 200. Number of Islands
例子,
Example1
:Input:11110110101100000000Output: 1Example2:Input:11000110000010000011Output:3题意很直观,做法也很直观
朝鲜冷面杀手
·
2020-01-16 01:00
lintcode入门篇四
样例
Example1
:Input:4Output:trueExample2:Input:5Output:false挑战O(1)time第一种方法:&的方法classSolution:"""@paramn
风不再来
·
2020-01-15 10:00
[LeetCode] 125. Valid Palindrome
例子,
Example1
:Input:"Aman,aplan,acanal:Panama"Output:trueExample2:Input:"raceacar"Output:false思路也很简单,twopointer
朝鲜冷面杀手
·
2020-01-15 03:00
[LeetCode] 5. Longest Palindromic Substring
例子
Example1
:Input:"babad"Output:"bab"Note:"aba"isalsoavalidanswer.Example2:Input:"cbbd"Output:"bb"这个题有两种做法
朝鲜冷面杀手
·
2020-01-15 02:00
[LeetCode] 3. Longest Substring Without Repeating Characters
例子
Example1
:Input:"abcabcbb"Output:3Explanation:Theansweris"abc",withthelengthof3.Example2:Input:"bbbbb"Output
朝鲜冷面杀手
·
2020-01-14 03:00
[LeetCode] 513. Find Bottom Left Tree Value
例子
Example1
:Input:2/\13Output:1Example2:Input:1/\23//\456/7Output:7Note:Youmayassumethetree(i.e.,thegivenrootnode
朝鲜冷面杀手
·
2020-01-14 01:00
[LeetCode] 298. Binary Tree Longest Consecutive Sequence
例子如下,
Example1
:Input:1\3/\24\5Output:3Explanation:Longestconsecutivesequencepathis3-4-5,soreturn3.Example2
朝鲜冷面杀手
·
2020-01-13 13:00
DP
“递推”:
Example1
:斐波那契数列1123581321……Example2:求最短路径“本质”:——状态,状态转移方程,无后效性-局部最优全局最优Example3:f[i][j]=min(f[i-
RalphDing
·
2020-01-08 11:19
(待完成)LeetCode - 4
MedianofTwoSortedArraysTherearetwosortedarraysnums1andnums2ofsizemandnrespectively.Findthemedianofthetwosortedarrays.TheoverallruntimecomplexityshouldbeO(log(m+n)).
Example1
DevWang
·
2020-01-08 08:35
LeetCode: 905. Sort Array By Parity / 奇偶排序
followedbyalltheoddelementsofA.Youmayreturnanyanswerarraythatsatisfiesthiscondition.理解一下给一个数组,进行排序.偶数在前,奇数在后
Example1
sasky2008
·
2020-01-07 06:38
[LeetCode] 100. Same Tree
Example1
:Input:11/\/\2323[1,2,3],[1,2,3]Output:trueExample2:Input:11/\22[1,2],[1,null,2]Output:fals
朝鲜冷面杀手
·
2020-01-07 03:00
[LeetCode] 004.Median of Two Sorted Arrays (C++)
ProblemdescriptionTherearetwosortedarraysnums1andnums2ofsizemandnrespectively.Findthemedianofthetwosortedarrays.TheoverallruntimecomplexityshouldbeO(log(m+n)).
Example1
QyQiaoo
·
2020-01-04 18:27
一个 Shiny app的基本组成部分
Example1
:HelloShinyHelloShinyScreenshotHelloShiny使用faithful数据画了一个直方图,这个直方图可以调节bin的个数。Hell
_eason_
·
2020-01-03 00:06
leetcode4---Median of Two Sorted Arrays
Therearetwosortedarraysnums1andnums2ofsizemandnrespectively.Findthemedianofthetwosortedarrays.TheoverallruntimecomplexityshouldbeO(log(m+n)).
Example1
lemooon
·
2019-12-31 20:01
485. Max Consecutive Ones 最长连续1序列
Example1
:Input:[1,1,0,1,1,1]Output:3Explanation:Thefirsttwodigitsorthelastthreedigitsareconsecutive1s.Them
这就是一个随意的名字
·
2019-12-27 21:53
Kotlin开发遇到问题汇总
在正常情况下,用@Named(''
example1
")来标注method1;用@Named("example2")来标注method2。然后用到的地方用@Inject@Named("
example1
"
ppjunSpirit
·
2019-12-27 16:58
LeetCode笔记:414. Third Maximum Number
returnthethirdmaximumnumberinthisarray.Ifitdoesnotexist,returnthemaximumnumber.ThetimecomplexitymustbeinO(n).
Example1
Cloudox_
·
2019-12-25 05:11
指定一个数,求该数的所有组成之和
packagemainimport"fmt"funclist(nint){fori:=0;i<n;i++{fmt.Printf("%d+%d=%d\n",i,n-i,n)}}/**编译命令gobuild-obin/list.exedev/day2/
example1
编码浪子
·
2019-12-24 17:14
[Leetcode][3][longest substring without repeating characters][Medium]
题目描述:最长连续无重复子字符串
Example1
:Input:"abcabcbb"Output:3Explanation:Theansweris"abc",withthelengthof3.Example2
RainbowShine
·
2019-12-24 04:50
LeetCode #219 Contains Duplicate II 存在重复元素 II
findoutwhethertherearetwodistinctindicesiandjinthearraysuchthatnums[i]=nums[j]andtheabsolutedifferencebetweeniandjisatmostk.Example:
Example1
air_melt
·
2019-12-23 17:08
001网络信息时代我们如何学习?
example1
:搜索之后的广告位很烦ex2:很多未接电话短信微信以及微信圈里的红点,“强迫症”。很可能你找不到你需要的。你不需要的,但是是别人的利益,人家就整天发。
whalecao
·
2019-12-22 16:34
LeetCode 1108. Defanging an IP Address
with"[.]".
Example1
:Input:addre
Dylan_Java_NYC
·
2019-12-22 07:00
Reverse Integer
Example1
:x=123,return321Example2:x=-123,return-321需要注意的问题:整数的最低位是0,如10100.以及反转的数字可能溢出。
violinmeng
·
2019-12-21 09:59
MySQL引擎与字符集选择
1.引擎查看MySQL支持的引擎showengines;MyISAM无法处理事务表级锁提供高速存储和检索,以及全文搜索能力,适合选择密集型和插入密集型表createtable`
example1
`(`id
everKarma
·
2019-12-20 02:29
4. Median of Two Sorted Arrays
Therearetwosortedarraysnums1andnums2ofsizemandnrespectively.Findthemedianofthetwosortedarrays.TheoverallruntimecomplexityshouldbeO(log(m+n)).
Example1
YoungDayo
·
2019-12-19 11:00
Leetcode练习题Longest Common Prefix
LongestCommonPrefixWriteafunctiontofindthelongestcommonprefixstringamongstanarrayofstrings.Ifthereisnocommonprefix,returnanemptystring"".
Example1
快乐的皮卡丘呦呦
·
2019-12-18 20:00
PHP匿名函数
$test=function($var){echo$var;};$test('hello');$test('world');回调函数参数
example1
:functionmyfu
栾呱呱
·
2019-12-18 07:56
Dol.md
1.改完的*.dot截图1.修改example2,让3个square模块变成2个2.修改
example1
,使其输出3次方数2.具体修改过程:
Example1
:将原本i=ii改成ii*i即可。
Mikeday
·
2019-12-17 08:04
2018-12-13
LeetCode50.Pow(x,n)DescriptionImplementpow(x,n),whichcalculatesxraisedtothepowern(xn).
Example1
:Input:
ruicore
·
2019-12-16 17:49
Leetcode - 532. K-diff Pairs in an Array
Example1
:Input:[3,1,4,1,5],k=2Output:2Explanation:Therearetwo2-diffpairsinthearray,(1,3)and(3,5).Althoughwehavetwo1sintheinput
KkevinZz
·
2019-12-14 23:23
上一页
13
14
15
16
17
18
19
20
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他