# Engineering Interview Questions

Sort: Popular Date
Sort: Popular Date

Did you mean companies matching "Engineering"?See Companies

### Software Engineer at Vistaprint

Jan 21, 2010
 “How many bottles of shampoo are produced in the world a year?”

### Software Engineer, Generalist at Facebook

Mar 5, 2012
 “Function to compute the number of ways to climb a flight of n steps. Taking 1, 2, or 3 steps at a time. Do it in Linear time and constant space.n = 3.1 1 11 22 13Ans = 4”

### Software Development Engineer In Test at Amazon.com

Dec 6, 2012
 “Most of them were expected. Almost all are problem solving questions.1. Given a BST with following property find the LCA of two given nodes. Property : All children has information about their…”

Aug 8, 2011
 “Implement a function string balanceParanthesis(string s); which given a string s consisting of some parenthesis returns a string s1 in which parenthesis are balanced and differences between s and s…”

May 15, 2010
 “Given an array of integers where each element points to the index of the next element how would you detect if there is a cycle in this array?”

May 8, 2010
 “Write a function Brackets(int n) that prints all combinations of well-formed brackets. For Brackets(3) the output would be((())) (()()) (())() ()(()) ()()()”

### Software Engineer at Dropbox

Feb 9, 2013
 “Given an array of integers eg [1,2,-3,1] find whether there is a sub-sequence that sums to 0 and return it (eg 1,2,-3 or 2,-3,1)    Checking every sub-sequence is O(n^2) which is too inefficient”

### Software Engineering Intern at Facebook

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

### Senior Java Engineer at American Express

Mar 31, 2014
 “How many credit cards does Amex issue in a year in US?”