![240](https://upload.jianshu.io/users/upload_avatars/13050335/84b83d0e-3a48-4a9c-a44f-1459484ae757.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
Implement a trie with insert, search, and startsWith methods. Example: T...
Given a Binary Search Tree (BST), convert it to a Greater Tree such that...
Given a binary tree, you need to compute the length of the diameter of t...
Given an integer array, you need to find one continuous subarray that if...
Given a non negative integer number num. For every numbers i in the rang...
Given a binary tree, find the lowest common ancestor (LCA) of two given ...
Given an unsorted array of integers, find the length of the longest cons...
Given a string s and a non-empty string p, find all the start indices of...
Suppose you have a random list of people standing in a queue. Each perso...