Given a full binary tree, iterate over it from the top to the bottom while for each level you change direction of iteration, for odd level go from left to right and for even go from right to left.
Engineer Internship Interview Questions
23,868 engineer internship interview questions shared by candidates
What skills you have?
What are the principles of OOP?
stack - knowledge + implemintation strings and arrays manipulations
Can you tell me about your accomplishments?
Q: "Tell us about yourself"
describe recursion for a 10-year-old
here is a 40 kg stone that broke into 4 pieces such that you can measure any weight between 1kg to 40 kg using a balance. What are the weights of the broken pieces?
About Regression Testing and chip design/
A 2d grid containing some obstacle and some gaurds each facing some direction and protecting entire row/column in front of them, Now a assassin is standing somewhere in the grid and want to reach end of the grid without being caught by gaurds and also he can not move on cell with obstacle or cells gaurded by gaurd or out of grid, We just need to return boolean value (0/1). He can only move in 4 adjacent cell in one move.
Viewing 841 - 850 interview questions