recursive algorithm Interview Questions

(Posted anonymously by job candidates)

14 Interview Questions: 110 of 14 Sort by  

May 9, 2012

Interview Question for Software Engineer at Facebook:

“You are given an integer N and an integer M. You are supposed to write a method void findBestCoinsThatMinimizeAverage(int N, int M) that prints the best collection of N coins that minimize the…”

May 4, 2012

Interview Question for Anonymous at Disqus:

“Write a Unix glob implementation in python. Globbing lets you use * for zero or more characters, ? for a single character, [] for a character range.”

Apr 27, 2012

Interview Question for Software Engineer at TripAdvisor:

“Write a program that given 4 coin denominations and a dollar amount finds the best way to express that amount using the coins given.
I.e. you have coins with denominations of 1c, 7c, 13c,19c and you…”

We want your feedback – Is this interview information helpful to you?  Yes | No

Apr 3, 2012

Interview Question for Anonymous at TripAdvisor:

“The 2nd interview was a coding exercise with the following premise: Given a destination page and a page with all the links embedded in it, write a function that determines if the destination is…”

Apr 3, 2012

Interview Question for Anonymous at TripAdvisor:

“The 1st interview was with a high-level manager. I was given the requirements for a "source code management" system.

I was asked to detail the kinds of objects to build and what the database…”

Feb 8, 2012

Interview Question for Anonymous at Zynga:

“How do you find the max depth of a binary tree?”

Nov 17, 2011

Interview Question for Software Engineer at Meebo:

“Write a function for mutliply(a,b), where a and b are both positive integers, but you can only use the + or - operators.”

Nov 17, 2011

Interview Question for Software Engineer at Meebo:

“Write the function nqueens(num_rows, num_cols, num_queens) -- where num_rows and num_cols is the size of an arbitrary chess board. Function returns "true" if there exists a way to place "num_queens…”

Nov 11, 2011

Interview Question for Senior Consultant at Ciber:

“Describe a case where you would need to use a cursor to return records from a table.”

Feb 7, 2011

Interview Question for Anonymous at Facebook:

“Implement a power function to raise a double to an int power, including negative powers.”

Glassdoor is your free inside look at recursive algorithm interview questions and reviews. All 14 interview questions posted anonymously by employees and interview candidates.