Reverse a linked list
Software Engineers Interview Questions
420,338 software engineers interview questions shared by candidates
Given a list of points in 2D and a single reference point, find k nearest neighbors. No code required (iirc).
given a large array of int return the length of the longest increasing(non-necessarily-adjacent) sub-sequence
Given an array of integers arranged in a way that they are first in a strictly increasing sequence and then after a certain point they are arranged in a strictly decreasing sequence. Find the max value in that array For ex: [3,6,8,13,20,35,33,30,21,17,14,2,1,-2] : 35 is the max in this array
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.
Coding the fibonacci algorithm.
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
Find the least common ancestor of 3+ nodes, in a binary tree wher the nodes only point to their parents. No child pointers.
Viewing 1701 - 1710 interview questions