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...