摘要:
1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wo 阅读全文
摘要:
45. Single Number 在个数都为2的数组中找到个数为1的数 46. Missing Number 在数组中找到从0到n缺失的数字 47. Find the Difference 找两个字符串总t中多出来的那个字符 48. Linked List Cycle 判断一个链表是否有环 49. 阅读全文
摘要:
35. Same Tree 判断两棵树相同 36. Invert Binary Tree 翻转树 37. Symmetric Tree 判断树是不是镜像对称的 38. Maximum Depth of Binary Tree 最大深度 39. Minimum Depth of Binary Tree 阅读全文
摘要:
28. Best Time to Buy and Sell Stock 买卖股票的最好时间 29. Best Time to Buy and Sell Stock II 买卖股票2(多次买入,一次卖出)最大利润 30. Length of Last Word 最后一个单词的长度 31. Plus O 阅读全文