- 博客(2)
- 资源 (4)
- 收藏
- 关注
原创 [LeetCode]Implement Trie (Prefix Tree)
class TrieNode { public: // Initialize your data structure here. TrieNode() { val='0'; end_of_a_word=0; for(int i=0;i<26;i++) {
2015-06-16 13:58:04 906
原创 [LeetCode] Contains Duplicate
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element
2015-06-11 13:48:11 806
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人