文章
[Leetcode] Count And Say 外观序列
CountAndSay<blockquote<pThecountandsaysequenceisthesequenceofintegersbeginningasfollows:<code1,11,21,1211,111221,...</c
[Algo] Find Intersection of Two Sets 找交集
FindIntersectionofTwoSets暴力法复杂度时间O(NM)空间O(1)思路暴力解法,对于每个在集合1中的元素,我们遍历一遍集合2看看是否存在,如果存在则是Intersection。代码
Sliding Window Maximum@LeetCode
SlidingWindowMaximum(https://link.segmentfault.com/?enc0DLDeV%2BmDMLahn5sMUN3zw%3D%3D.LChDbXdhiXRqDdKFh1akFYSUKW9wGJ1iJOYU%2F1DTgoRmlEkqEH%2Fi
[Leetcode] Word Pattern 单词模式
WordPattern<blockquote<pGivenapatternandastringstr,findifstrfollowsthesamepattern.</p<pExamples:<br/<codepattern&34;
[Leetcode] Search Insert Position 搜索插入位置
SearchInsertPosition<pre<codeGivenasortedarrayandatargetvalue,returntheindexifthetargetisfound.Ifnot,returntheindexwhe
[Leetcode] Game of Life 生命游戏
GameofLifeI<blockquote<pAccordingtotheWikipedia&39;sarticle:&34;TheGameofLife,alsoknownsimplyasLife,isacellularautomat
[Leetcode] Rotate Image 旋转图片
RotateImage<blockquote<pYouaregivenannxn2Dmatrixrepresentinganimage.</p<pRotatetheimageby90degrees(clockwise).</p<pF
[Leetcode] Count Complete Tree Nodes 统计完全树节点数
CountCompleteTreeNodes<blockquote<pGivenacompletebinarytree,countthenumberofnodes.</p<pDefinitionofacompletebinarytreef
[Leetcode] Search for a Range 寻找区间
SearchforaRange<blockquote<pGivenasortedarrayofintegers,findthestartingandendingpositionofagiventargetvalue.</p<pYour
[Leetcode] Gas Station 加油站
GasStation<blockquote<pThereareNgasstationsalongacircularroute,wheretheamountofgasatstationiisgasi.</p<pYouhaveac
已加载文章中没有匹配内容,试试其他关键词或清空搜索。