Heap — clean JavaScript solution and code implementation for software engineering interview preparation. Read more →
Category: interview
-
Design Add and Search Words Data Structure
The following code uses "Trie" data structure. The character '.' in a word could represent any letter when searching. Demo Read more →
-
Coin Change
Coin Change — clean JavaScript solution and code implementation for software engineering interview preparation. Read more →
-
N-Queens
N-Queens — clean JavaScript solution and code implementation for software engineering interview preparation. Read more →
-
Implementing a Trie
Implementing a Trie — clean JavaScript solution and code implementation for software engineering interview preparation. Read more →
-
Letter Combinations of a Phone Number
Letter Combinations of a Phone Number — clean JavaScript solution and code implementation for software engineering interview preparation. Read more →
-
Top K Frequent Words
Top K Frequent Words — clean JavaScript solution and code implementation for software engineering interview preparation. Read more →
-
KMP (Knuth–Morris–Pratt) Algorithm
KMP (Knuth–Morris–Pratt) Algorithm — clean JavaScript solution and code implementation for software engineering interview preparation. Read more →
-
Longest Common Prefix
Find the longest common prefix for a list of strings. Demo Runtime complexity: m*log(n) m = length of the smallest string in the list. n = length of the list. Read more →
-
Js reduce() polyfill
Js reduce() polyfill — clean JavaScript implementation with working example code for frontend engineering interviews. Read more →