LeetCode 359. Logger Rate Limiter
Description https://leetcode.com/problems/logger-rate-limiter/ Design a logger system that receive stream of messages along with its timestamps, each message should be printed…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/logger-rate-limiter/ Design a logger system that receive stream of messages along with its timestamps, each message should be printed…
Description https://leetcode.com/problems/implement-trie-prefix-tree/ Implement a trie with insert, search, and startsWith methods. Example: Trie trie = new Trie(); trie.insert(“apple”); trie.search(“apple”); // returns true trie.search(“app”); //…
Description https://leetcode.com/problems/insert-delete-getrandom-o1/ Design a data structure that supports all following operations in average O(1) time. insert(val): Inserts an item val to the set…
Description https://leetcode.com/problems/shuffle-an-array/ Shuffle a set of numbers without duplicates. Example: // Init an array with set 1, 2, and 3.…