LIKE CODING

Showing posts with label Data structure. Show all posts
Showing posts with label Data structure. Show all posts
Sunday, August 30, 2015

MJ [32] Iterate a nested array (Deep Iterator)

›
Question: Write an iterator to iterate a nested array. For example, for given array:                                           [1,2,[3,...
Thursday, August 6, 2015

MJ [1]

›
Note implement a data structure to get a value of a key at a specific time Ref [1]  http://www.mitbbs.com/article_t/JobHunting/3...
Wednesday, August 5, 2015

LeetCode [251] Flatten 2D Vector

›
Design and implement an iterator to flatten a 2d vector. It should support the following operations:  next  and  hasNext . Example: V...
Tuesday, August 4, 2015

LeetCode [244] Shortest Word Distance II

›
Ref [1]  https://leetcode.com/problems/shortest-word-distance-ii/ OJ
Wednesday, May 13, 2015

LeetCode [208] Implement Trie (Prefix Tree)

›
  208.   Implement Trie (Prefix Tree) Medium 4322 68 Add to List Share Trie (we pronounce "try") or prefix tree is a tree data str...
Tuesday, February 3, 2015

LeetCode [170] Two Sum III - Data structure design

›
Ref [1] https://leetcode.com/problems/two-sum-iii-data-structure-design/ OJ
›
Home
View web version
Powered by Blogger.