Given an ArrayList of Nodes, with each Node having an ID and a parent ID, determine whether the List is given in preorder.
Software Development Interview Questions
37,272 software development interview questions shared by candidates
How would you code up a custom rectangle detector?
Given two numbers n and m, divide n by m without using the division operator. Return both the integer answer as well as the remainder.
Given a set of points (x,y) and an integer "n", return n number of points which are close to the origin
Given 2 numbers. Find if they are consecutive grey code sequences
I got questions like "Given a dictionary of words, how do you calculate the anagrams for a new word".
given non-zero number array A, create array B where B[i] = product of all elements in A except A[i].
First explain what a tree, then binary tree, then a binary search tree is. Now implement a function that verifies whether a binary tree is a valid binary search tree.
Write a code for determining the given integer is palindrome in binaries.
Find the longest subarray which consists of numbers that can be arranged in a continuous sequence. For ex- {4,5,1,5,7,6,8,4,1} output-{5,7,6,8,4}.Find the longest.
Viewing 111 - 120 interview questions