Q. Write a function that takes two trees as an argument and returns true if they are equal.
Software Engineers Interview Questions
419,369 software engineers interview questions shared by candidates
The problems are not hard.
Given a list of number from 1 to N. All of them written three times, except one number (written 1 or 2 times). Find the number
Given a file that represent a graph, write an algorithm that compute the number of triangles in the graph.
Input a string and output the number of words (need to run on coderpad)
Estimation question: Google employment has doubled each year for the last x years.. given the current employment, how many years before Google employs the entire world population of y.
Invert a Map e.g 1: {a,b} 2: {c,d} becomes a:1 b:1 c:2 d2
Given X number of search terms, write an algorithm that will return the smallest substring from an article that contains all of the search terms.
Find the kth largest element in a sorted array.
Most difficult question was how would I design an algorithm to find the most frequently searched word in google search
Viewing 1411 - 1420 interview questions