文章
[Leetcode] Remove Duplicates from Sorted Array 移除有序数组中的重复元素
RemoveDuplicatesfromSortedArrayI<blockquote<pGivenasortedarray,removetheduplicatesinplacesuchthateachelementappearonlyon
[Leetcode] Maximum and Minimum Depth of Binary Tree 二叉树的最小最大深度
MaximumDepthofBinaryTree<blockquote<pGivenabinarytree,finditsmaximumdepth.</p<pThemaximumdepthisthenumberofnodesalong
[Leetcode] Min Stack 最小栈
MinStack<blockquoteDesignastackthatsupportspush,pop,top,andretrievingthe<br/minimumelementinconstanttime.<ppush(x)Pushel
[Leetcode] Set Matrix Zeroes 矩阵置零
SetMatrixZeroes<blockquote<pGivenamxnmatrix,ifanelementis0,setitsentirerowandcolumnto0.Doitinplace.</p<pclickto
[Leetcode] Combination Sum 组合数之和
CombinationSumI<blockquote<pGivenasetofcandidatenumbers(C)andatargetnumber(T),findalluniquecombinationsinCwherethecand
[Leetcode] Combinations 组合数
Combinations<blockquote<pGiventwointegersnandk,returnallpossibleombinationsofknumbersoutof1...n.</p<pForexample,Ifn
[Leetcode] LRU Cache 最近使用缓存
LRUCache<blockquote<pDesignandimplementadatastructureforLeastRecentlyUsed(LRU)cache.Itshouldsupportthefollowingoperations:
[Leetcode] Gray Code 格雷码
GreyCode<blockquote<pThegraycodeisabinarynumeralsystemwheretwosuccessivevaluesdifferinonlyonebit.</p<pGivenanonnegati
[Leetcode] Edit Distance 最小编辑距离
EditDistance<blockquote<pGiventwowordsword1andword2,findtheminimumnumberofstepsrequiredtoconvertword1toword2.(eachoperat
[Leetcode] Clone Graph 复制图
CloneGraph<blockquote<pCloneanundirectedgraph.Eachnodeinthegraphcontainsalabelandalistofitsneighbors.</p<pOJ&39;sundi
已加载文章中没有匹配内容,试试其他关键词或清空搜索。