Find depth of a binary tree
Software Development Programmer Interview Questions
33,158 software development programmer interview questions shared by candidates
Reverse a linked list
Given a list of points in 2D and a single reference point, find k nearest neighbors. No code required (iirc).
Find the max number in an array between start and end. The function would like: findMaxbetween(start, end, array): return maxNumber
Write code to find the nth fibonacci number.
Given a 5x5 board containing random characters, find all words that can be formed from consecutive adjacent (diagonals count) characters.
different between array and heap
in an array of characters find the character that is repeated the most
Write production quality code to find whether a given binary tree is a BST or not. You can't make any global variable.
Given an array of integers [1,2,3,4]. and target t = 5. Come up with a solution that will print out all the unique pairs in the array that are equal t.
Viewing 271 - 280 interview questions