Engineering Interview Questions

Sort: Popular Date
Sort: Popular Date

Did you mean companies matching "Engineering"?See Companies

0 of 1 found helpful

“How many bottles of shampoo are produced in the world a year?”

“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 1
1 2
2 1
3
Ans = 4”

“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…”

“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…”

“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?”

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

((())) (()()) (())() ()(()) ()()()”

“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”

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

“How many credit cards does Amex issue in a year in US?”

“Print a singly-linked list backwards, in constant space and linear time.”

4150 of 35,958 Interview Questions