Questions about the basics of main subjects including DS, DAA, Java, C++, C, SQL etc.
Software Interview Questions
550,822 software interview questions shared by candidates
For a given binary tree, assign the sibling pointer of each node. A sibling is always the node to its immediate right on the same level of the tree.
Two texts are considered to "match" if they have a common substring of at least length n. Describe an algorithm to determine if two strings are matches.
Smallest missing natural number in a linked list in linear time without a hash table.
Write a function that calculates the root of a given number.
K nearest points to the origin on a 2D plane; one-pass reverse linked list with constant space.
Given a list of numbers, find the consecutive sequence of numbers whose sums equal to a target number.
Find Kth minimum node in a binary tree and suggest a complexity
Not relevant (see my comment) even if you answered correctly.
Given an array of integers, find the sub array with the largest sum. (must be done in linear time)
Viewing 1141 - 1150 interview questions