Given an array S of n integers, are there elements a, b, c in S such that a + b ...
Find all possible combinations of k numbers that add up to a number n, given tha...
Given an array S of n integers, are there elements a, b, c, and d in S such that...
Say you have an array for which the ith element is the price of a given stock on...
Given an array S of n integers, find three integers in S such that the sum is cl...
Say you have an array for which the ith element is the price of a given stock on...
Given an array of integers, find two numbers such that they add up to a specific...
Given inorder and postorder traversal of a tree, construct the binary tree.
Given a collection of candidate numbers (C) and a target number (T), find all un...
Given a set of candidate numbers (C) and a target number (T), find all unique co...
Given an array of integers, find out whether there are two distinct indices i an...
Given an array of integers and an integer k, find out whether there are two dist...
Given an array of non-negative integers, you are initially positioned at the fir...
Given preorder and inorder traversal of a tree, construct the binary tree.
Given an array of size n, find the majority element. The majority element is the...
Find the contiguous subarray within an array (containing at least one number) wh...
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
According to the Wikipedia's article: "The Game of Life, also known simply as Li...