喜刷刷

Thursday, November 27, 2014

[LeetCode] Word Ladder I, II

›
Word Ladder I Given two words ( start  and  end ), and a dictionary, find the length of shortest transformation sequence from  start  to ...
3 comments:

[LeetCode新题] Intersection of Two Linked Lists

›
Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked list...

[LeetCode] First Missing Positive

›
Given an unsorted integer array, find the first missing positive integer. For example, Given  [1,2,0]  return  3 , and  [3,4,-1,1]  ret...
2 comments:

[LeetCode] Simplify Path

›
Given an absolute path for a file (Unix-style), simplify it. For example, path  =  "/home/" , =>  "/home" path  ...
Wednesday, November 26, 2014

[LeetCode] LRU Cache

›
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:  get  and  set . g...

[LeetCode] Merge Intervals

›
Given a collection of intervals, merge all overlapping intervals. For example, Given  [1,3],[2,6],[8,10],[15,18] , return  [1,6],[8,10]...

[LeetCode] Insert Interval

›
Given a set of  non-overlapping  intervals, insert a new interval into the intervals (merge if necessary). You may assume that the interv...
2 comments:
‹
›
Home
View web version

About Me

Yanbing Shi
View my complete profile
Powered by Blogger.