Leetcode

Thursday, January 2, 2014

Day 72, ##, Word Break, Word Break II, Linked List Cycle, Linked List Cycle II

›
Word Break Given a string s and a dictionary of words dict , determine if s can be segmented into a space-separated sequence of one or mo...
Tuesday, December 31, 2013

Day 71, ##, Single Number, Single Number II

›
Single Number Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should ...

Day 70, ##, Candy

›
Candy There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected...
Sunday, December 29, 2013

Day 69, #130, #132, ##, Surrounded Regions, Palindrome Partitioning II, Clone Graph

›
Surrounded Regions Given a 2D board containing 'X' and 'O' , capture all regions surrounded by 'X' . A region is ...
Saturday, December 28, 2013

Day 68, #128, Longest Consecutive Sequence

›
Longest Consecutive Sequence Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For exampl...
Friday, December 27, 2013

Day 67, #117, #123, #124, Populating Next Right Pointers in Each Node II, Best Time to Buy and Sell Stock III, Binary Tree Maximum Path Sum

›
Populating Next Right Pointers in Each Node II Follow up for problem " Populating Next Right Pointers in Each Node ". What if th...
Thursday, December 26, 2013

Day 66, #103, #115, Binary Tree Zigzag Level Order Traversal, Distinct Subsequences

›
Binary Tree Zigzag Level Order Traversal Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from ...
‹
›
Home
View web version

About Me

Shibai
View my complete profile
Powered by Blogger.