文章
[leetcode] 55.Jump Game
JumpGame<blockquote<pGivenanarrayofnonnegativeintegers,youareinitiallypositioned<br/atthefirstindexofthearray.Eachelemen
[leetcode] 1.Two Sum
TwoSum<blockquote<pGivenanarrayofintegers,returnindicesofthetwonumberssuchthattheyadduptoaspecifictarget.<br/Youmayas
[Leetcode] Two Sum, 3Sum,4Sum,4SumII,3Sum Closet
TwoSumGivenanarrayofintegers,returnindicesofthetwonumberssuchthattheyadduptoaspecifictarget.Youmayassumethateachinputw
【leetcode】191. Number of 1 Bits 正整数中的bit位为1的个数
1.题目Writeafunctionthattakesanunsignedintegerandreturnsthenumberof’1&39;bitsithas(alsoknownastheHammingweight).Forexam
Leetcode刷题神器,妈妈再也不担心我刷题后Solution同步到Github的问题了
概述Leetcode的题目还没刷多少,写了个Solution的下载器,自己刷的题方便下载下来同步到Github上详情见我的Repo:https://github.com/bonfy/leetcode(https://link.segmentfault.com/?encY3tc
【leetcode】刷题暂告一个段落
近一年没有写代码了,手痒无聊,集中刷了近一百题,前一半按序全部做了,后面的挑了有意思的做,一眼看起来太简单的且重复类型的就忽略了。最近挑的题,发现没有了自测按钮,不太方便。暂时不再刷题了。开启新的一章,学习“机器学习”,从入门开始,看书、上公开课、做题练习、做笔记。
【leetcode】127. Word Ladder 等长字符串集合的A到B的转移最短长度
1.题目Giventwowords(beginWordandendWord),andadictionary&39;swordlist,findthelengthofshortesttransformationsequencefrombeginWo
【leetcode】104. Maximum Depth of Binary Tree
1.题目Givenabinarytree,finditsmaximumdepth.Themaximumdepthisthenumberofnodesalongthelongestpathfromtherootnodedowntoth
【leetcode】102. Binary Tree Level Order Traversal 水平遍历二叉树
1.题目Givenabinarytree,returnthelevelordertraversalofitsnodes&39;values.(ie,fromlefttoright,levelbylevel).Forexample:Give
【leetcode】101. Symmetric Tree 二叉树是否是镜像结构
1.题目Givenabinarytree,checkwhetheritisamirrorofitself(ie,symmetricarounditscenter).Forexample,thisbinarytree1,2,2,3,4,4,
已加载文章中没有匹配内容,试试其他关键词或清空搜索。