文章
【leetcode】41. First Missing Positive 求不在给定数组里的最小的正整数
1.题目Givenanunsortedintegerarray,findthefirstmissingpositiveinteger.Forexample,Given1,2,0return3,and3,4,1,1return2.You
【leetcode】40. Combination Sum II 有重复值的整数数组等于指定值的所有子集组合
1.题目Givenacollectionofcandidatenumbers(C)andatargetnumber(T),findalluniquecombinationsinCwherethecandidatenumberssumsto
【leetcode】39. Combination Sum 求整数数组里的等于指定值的所有子集
1.题目Givenasetofcandidatenumbers(C)andatargetnumber(T),findalluniquecombinationsinCwherethecandidatenumberssumstoT.The
【leetcode】38. Count and Say 数字转换
1.题目Thecountandsaysequenceisthesequenceofintegersbeginningasfollows:1,11,21,1211,111221,...1isreadoffas&34;one1&34;
【leetcode】37. Sudoku Solver 解数独
1.题目WriteaprogramtosolveaSudokupuzzlebyfillingtheemptycells.Emptycellsareindicatedbythecharacter&39;.&39;.Youmayassu
【leetcode】36. Valid Sudoku 给定的数独表格是否是满足规则的
1.题目DetermineifaSudokuisvalid,accordingto:SudokuPuzzlesTheRules.TheSudokuboardcouldbepartiallyfilled,whereemptycellsar
【leetcode】35. Search Insert Position 给定数字插入有序数组的下标点
1.题目Givenasortedarrayandatargetvalue,returntheindexifthetargetisfound.Ifnot,returntheindexwhereitwouldbeifitwereins
【leetcode】34. Search for a Range 给定数组的给定值的下标范围
1.题目Givenasortedarrayofintegers,findthestartingandendingpositionofagiventargetvalue.Youralgorithm&39;sruntimecomplexitym
【leetcode】33. Search in Rotated Sorted Array 循环有序数组的二分查找
1.题目Supposeasortedarrayisrotatedatsomepivotunknowntoyoubeforehand.(i.e.,0124567mightbecome4567012).Youaregive
【leetcode】32. Longest Valid Parentheses 最长的有效匹配括号子串长度
1.题目Givenastringcontainingjustthecharacters&39;(&39;and&39;)&39;,findthelengthofthelongestvalid(wellformed)parenthesess
已加载文章中没有匹配内容,试试其他关键词或清空搜索。