If 3 lumberjacks can cut down 3 trees in 3 days, how many trees can 12 lumberjacks cut down in 12 days?
Software Interview Questions
550,608 software interview questions shared by candidates
You have a list of numbers from 1-1000, each number only exists once and they are in random order. You randomly take one out. How do you know which is the missing number?
Questions about the basics of main subjects including DS, DAA, Java, C++, C, SQL etc.
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
Viewing 1161 - 1170 interview questions