Entry Level Engineer
Entry Level Engineer Interview Questions and Answers

Asked in Amazon

Q. Given a binary tree and two nodes, find the distance between them.
The distance between two nodes in a binary tree is the number of edges on the path from one node to the other.
The distance can be calculated by finding the lowest common ancestor of the two nodes and then adding the distances from the LCA to each node.
If the two nodes are in different subtrees of the LCA, the distance is the sum of the distances from the LCA to each node.
If the two nodes are the same, the distance is 0.
If one of the nodes is not present in the tree, the dista...read more

Asked in Mahindra & Mahindra

Q. Future of electric vehicles.
The future of electric vehicles is promising with advancements in technology and increasing demand for sustainable transportation.
Advancements in battery technology are improving the range and charging time of electric vehicles.
Government initiatives and regulations are promoting the adoption of electric vehicles.
Automakers are investing heavily in electric vehicle development and production.
Increasing public awareness about environmental concerns is driving the demand for el...read more
Entry Level Engineer Jobs




Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary


Reviews
Interviews
Salaries
Users

