Find the optimal map route between two points on a grid (maze) with some areas blocked out.
Software Interview Questions
551,241 software interview questions shared by candidates
reverse a sentence such that the ordering of words is reversed but the words aren't changed
Find the most frequent letters in a string.
Find the intersection of two integer lists
Get the two highest number in a binary search tree
I spent much time for answering a question. Q : In a grid, if points, which refer locations of people, are given, which point in the grid will be the best point to meet together that the sum of distances from each position to the point is shortest. Distance between two points p1 and p2 is |p1_x-p2_x| + |p1_y-p2_y|.
Given a maze, represented as a matrix, and the initial and final points write an algorithm to solve this.
Write a function to find intersection of 2 sorted arrays.
Try to figure out the top unique search queries from a database with 100 billion entries
Write a program to find depth of binary search tree without using recursion
Viewing 2351 - 2360 interview questions