Given the alphabet encoded as numbers (e.g., a=1, b=2, ..., z=26), and a sequence of numbers (e.g., "23413259802"), how many strings can be generated.
Engineer Interview Questions
933,580 engineer interview questions shared by candidates
I have reviewed your resume but would like to ask you to begin by giving me an overview of your education as they relate to this position and why you are interested in this position. Please elaborate on your project listed on your resume. What were your major responsibilities in that ? Did you made the project? If yes then tell what you have done in the project ?
You have all of the prices for a given stock for the next year. You can buy once and sell once in that year. How do you determine when to buy and sell to maximize your profit?
Write an algorithm to determine if 2 linked lists intersect
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 parents but the parents do not have information about their children nodes. Constraint - no additional space can be used
If two vehicles are identical, except for one weighing twice as much as the other vehicle, and they roll down a hill, which car reaches the bottom first? Neglect air resistance. Assume the extra mass is in the body of the vehicle.
Why do you want to work at The Home Depot?
Trees are placed in a straight line at index positions starting from 1. We are to place monkeys on the trees such that each pair of monkeys are at maximum distance. If we're given the no. of trees and the no. of monkeys, write a function returning the maximum distance between two adjacently placed monkeys.
How would you determine if someone has won a game of tic-tac-toe on a board of any size?
FInd the maximum sum of a sub-sequence from an positive integer array where any two numbers of sub-sequence are not adjacent to each other in the original sequence. E.g 1 2 3 4 5 6 --> 2 4 6
Viewing 71 - 80 interview questions