LIKE CODING

Friday, July 10, 2015

LeetCode [235] Lowest Common Ancestor of a Binary Search Tree

›
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the  definition of...

LeetCode [56] Merge Intervals

›
  56.   Merge Intervals Medium 5253 323 Add to List Share Given a collection of intervals, merge all overlapping intervals. Example 1: Input...
Thursday, July 9, 2015

LeetCode [234] Palindrome Linked List

›
Given a singly linked list, determine if it is a palindrome. Example 1: Input: 1->2 Output: false Example 2: Input: 1->2-...
Wednesday, July 8, 2015

LeetCode [233] Number of Digit One

›
Note: There's one 1 on 1-th digit for every 10 numbers; There's ten 1s on 10-th digit for every 100 number; There's one...

LeetCode [232] Implement Queue using Stacks

›
Ref [1] https://leetcode.com/problems/implement-queue-using-stacks/ OJ

LeetCode [231] Power of Two

›
Ref [1] https://leetcode.com/problems/power-of-two/ OJ

LeetCode [230] Kth Smallest Element in a BST

›
  230.   Kth Smallest Element in a BST Medium 3117 75 Add to List Share Given a binary search tree, write a function  kthSmallest  to find t...
‹
›
Home
View web version
Powered by Blogger.