leetcode 101. Symmetric Tree
Given a binary tree, check whether it is a mirror of it…
Alg rbm受限波兹曼算法理解
本文主要是参考了http://blog.echen.me/2011/07/18/introduction-to…
leetcode 100. Same Tree
Given two binary trees, write a function to check if th…
leetcode 88. Merge Sorted Array
Given two sorted integer arrays nums1 and nums2, merge …
leetcode 83. Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such …
leetcode 67. Add Binary
Given two binary strings, return their sum (also a bina…
leetcode 58. Length of Last Word
Given a string s consists of upper/lower-case alphabets…
leetcode 53. Maximum Subarray
Given an integer array nums, find the contiguous subarr…
leetcode 38. Count and Say
The count-and-say sequence is the sequence of integers …
leetcode 35. Search Insert Position(Easy)
Given a sorted array and a target value, return the ind…
leetcode 28. Implement strStr()
Implement strStr(). Return the index of the first occur…
leetcode 26. Remove Duplicates from Sorted Array
Given a sorted array nums, remove the duplicates in-pla…
leetcode 21. Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new li…
leetcode 20. Valid Parentheses
Given a string containing just the characters ‘(‘, ‘)’,…
leetcode 14. Longest Common Prefix
Write a function to find the longest common prefix stri…