学习是一辈子的事。
假如书是攀登知识高峰的阶梯,那么,想必每个人都想攀登上这座高高的山峰。
198-House Robber 198-House Robber
题目You are a professional robber planning to rob houses along a street.
2019-04-22
572-Subtree of Another Tree 572-Subtree of Another Tree
题目Given two non-empty binary trees s and t, check whether tree t has e
2019-04-22
437-Path Sum III 437-Path Sum III
题目You are given a binary tree in which each node contains an integer v
2019-04-21
101-Symmetric Tree 101-Symmetric Tree
题目Given a binary tree, check whether it is a mirror of itself (ie, sym
2019-04-13
1-Two Sum 1-Two Sum
题目Given an array of integers, return indices of the two numbers such t
2019-04-13
53-Maximum Subarray 53-Maximum Subarray
题目Given an integer array nums, find the contiguous subarray (containin
2019-04-12
70-Climbing Stairs 70-Climbing Stairs
题目You are climbing a stair case. It takes n steps to reach to the top.
2019-04-10
543-Diameter of Binary Tree 543-Diameter of Binary Tree
题目Given a binary tree, you need to compute the length of the diameter
2019-04-10
21-Merge Two Sorted Lists 21-Merge Two Sorted Lists
题目Merge two sorted linked lists and return it as a new list. The new l
2019-04-09
121-Best Time to Buy and Sell Stock 121-Best Time to Buy and Sell Stock
题目Say you have an array for which the ith element is the price of a gi
2019-04-09
538-Convert BST to Greater Tree 538-Convert BST to Greater Tree
题目Given a Binary Search Tree (BST), convert it to a Greater Tree such
2019-04-09
169-Majority Element 169-Majority Element
题目Given an array of size n, find the majority element. The majority el
2019-04-09
448-Find All Numbers Disappeared in an Array 448-Find All Numbers Disappeared in an Array
题目Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), s
2019-04-08
206-Reverse Linked List 206-Reverse Linked List
题目Reverse a singly linked list. Example: Input: 1->2->3->4-&g
2019-04-08
283-Move Zeroes 283-Move Zeroes
题目Given an array nums, write a function to move all 0’s to the end of
2019-04-08
226-Invert Binary Tree 226-Invert Binary Tree
题目Invert a binary tree. Example: Input: 4 / \ 2 7 / \
2019-04-08
136-Single Number 136-Single Number
题目Given a non-empty array of integers, every element appears twice exc
2019-04-07
104-Maximum Depth of Binary Tree 104-Maximum Depth of Binary Tree
题目Given a binary tree, find its maximum depth. The maximum depth is th
2019-04-07
1 / 2