文章
[LeetCode] Longest Common Prefix
ProblemWriteafunctiontofindthelongestcommonprefixstringamongstanarrayofstrings.Note我的思路是用<codeStringBuilder</code对<code
[LeetCode] ZigZag Conversion
ProblemThestring<code&34;PAYPALISHIRING&34;</codeiswritteninazigzagpatternonagivennumberofrowslikethis:(youmaywanttodis
[LeetCode] Compare Version Numbers
ProblemComparetwoversionnumbersversion1andversion2.If<codeversion1>version2return1</code,if<codeversion1<version2return
[LeetCode] Longest Substring Without Repeating Characters
ProblemGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:Given&34;abcabcbb&34;,thea
[LeetCode] Palindrome Pairs
ProblemGivenalistofuniquewords.Findallpairsofdistinctindices(i,j)inthegivenlist,sothattheconcatenationofthetwowords,i.
[LeetCode] Reverse String
ProblemWriteafunctionthattakesastringasinputandreturnsthestringreversed.ExampleGiven<codes&34;hello&34;</code,ret
[LeetCode] Reverse Vowels of a String
ProblemWriteafunctionthattakesastringasinputandreverseonlythevowelsofastring.Example1:Given<codes&34;hello&34;,return
[LeetCode] Intersection of Two Arrays I & II
IntersectionofTwoArraysIProblemGiventwoarrays,writeafunctiontocomputetheirintersection.ExampleGiven<codenums1
[LintCode/LeetCode] Wildcard Matching
ProblemImplementwildcardpatternmatchingwithsupportfor<code&39;?&39;</codeand<code&39;&39;</code.<code&39;?&39;</codeMat
[LeetCode] 8. String to Integer (atoi)
ProblemImplementfunctionatoitoconvertastringtoaninteger.Ifnovalidconversioncouldbeperformed,azerovalueisreturned.Ifthe
已加载文章中没有匹配内容,试试其他关键词或清空搜索。