Techinpad
Wednesday, December 23, 2015
[LintCode] Add and Search Word
›
Design a data structure that supports the following two operations: addWord(word) and search(word) search(word) can search a literal...
Tuesday, December 22, 2015
[LintCode] Restore IP Addresses Show result
›
Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example Given "25...
Friday, October 30, 2015
LFU Cache
›
Similar to LRU http://techinpad.blogspot.com/2015/06/leetcode-lru-cache.html, implement a LFU, which is the least frequently used cache. A...
Tuesday, October 27, 2015
[LeetCode] Serialize and Deserialize Binary Tree
›
Question can be found https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ /** * Definition for a binary tree node. *...
Tuesday, October 20, 2015
[LeetCode] Find Median from Data Stream
›
Question can be found https://leetcode.com/problems/find-median-from-data-stream/ class MedianFinder { priority_queue<int> up;...
›
Home
View web version