Internet interview questions

Sort: Popular Date
Sort: Popular Date

“Given an array of integers where each element points to the index of the next element how would you detect if there is a cycle in this array?”

“Write a function Brackets(int n) that prints all combinations of well-formed brackets. For Brackets(3) the output would be ((())) (()()) (())() ()(()) ()()()”

“Implement a power function to raise a double to an int power, including negative powers.”

“Implement division without using multiplication or division. It should work most efficient and fast.”

“Print a singly-linked list backwards, in constant space and linear time.”

“Write some pseudo code to raise a number to a power.”

“* Describe the design of a most-recently-used list, such as the "Recent Files" menu in Microsoft Word. It has two public methods, getlist() and access(str), which retrieve the list and mark an item...”

“Find the minimum depth of binary search tree”

“Find an algorithm to find the largest sum subarray in an array of integers. (Better than O(n^2) ).”

“Write a function to get maximum consecutive sum of integers from an array.”

3140 of 12,825 Interview Questions