文章
16. 3Sum Closest
Givenanarraynumsofnintegersandanintegertarget,findthreeintegersinnumssuchthatthesumisclosesttotarget.Returnthesumofthethr
17. Letter Combinations of a Phone Number
Givenastringcontainingdigitsfrom29inclusive,returnallpossiblelettercombinationsthatthenumbercouldrepresent.Amappingofdigittol
989-数组形式的整数加法
前言WeeklyContest123(https://link.segmentfault.com/?encGXkfj%2FB6Z9q75EWvIPCkgQ%3D%3D.xLRFGbtVcU%2FmYCs4264tTwHKHlfE9Ywv8pxUK3ZO2hbPN6Alpu9Ew
Valid Palindrome
<pre<codepublicclassSolution{publicList<ListNode>binaryTreeToLists(TreeNoderoot){List<ListNode>resnewArrayList
988-从叶结点开始的最小字符串
前言WeeklyContest122(https://link.segmentfault.com/?enc2iB1ScZ3zxnAxdfQp1RZUw%3D%3D.QL6gfAkNULBLqH02hoDG7CpnVLlA74nZFJibol0%2F8WFkdVQ1kGVFWpw
107. Binary Tree Level Order Traversal II
Givenabinarytree,returnthebottomuplevelordertraversalofitsnodes&39;values.(ie,fromlefttoright,levelbylevelfromleaftoroot).
104. Maximum Depth of Binary Tree
Givenabinarytree,finditsmaximumdepth.Themaximumdepthisthenumberofnodesalongthelongestpathfromtherootnodedowntothefarthest
101. Symmetric Tree
Givenabinarytree,checkwhetheritisamirrorofitself(ie,symmetricarounditscenter).<pre<codeForexample,thisbinarytree1,2,2,3,4,4
100. Same Tree
Giventwobinarytrees,writeafunctiontocheckiftheyarethesameornot.Twobinarytreesareconsideredthesameiftheyarestructurallyiden
88. Merge Sorted Array
Giventwosortedintegerarraysnums1andnums2,mergenums2intonums1asonesortedarray.Note:Thenumberofelementsinitializedinnums1andnum
已加载文章中没有匹配内容,试试其他关键词或清空搜索。