Find the shortest distance between two points in a 2D grid world (bfs).
Software Engineers Interview Questions
420,352 software engineers interview questions shared by candidates
Given two identical strings, where one string has a random character inserted, return the random inserted character.
Given an int array A, return an int array B that A[i + B[i]] is the first element in A after A[i] that is greater than or equal to A[i]
Find a repeated number in a list of numbers
a very long single linked list, how to find the n-th entry from the end.
Easier questions 1) Two variations of a program exist, A and B. When run on machine 1, A runs twice as fast as B. When run on machine 2, A runs 10x as fast as B. How would you investigate this? -same datasets -same versions of OS and libraries -same hardware 2) Had to code a method that calculated the factorial, first simply, then a second one recursively.
Given a set of shapes in 2D space, and a coordinate pair, write a routine that returns true if any of the shapes overlap the coordinate pair.
Given a set of integers find if two elements sum to a given value.
Find the optimal map route between two points on a grid (maze) with some areas blocked out.
reverse a sentence such that the ordering of words is reversed but the words aren't changed
Viewing 1851 - 1860 interview questions