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.
Software Developer Interview Questions
550,942 software developer interview questions shared by candidates
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)
Given two events, each with a start and end time, implement a boolean check to see if they overlap.
Viewing 1141 - 1150 interview questions