Filter interviews by
One coding question from dynamic programming
Binary lifting ancestors problem involves finding the k-th ancestor of a node in a binary tree efficiently.
Binary lifting is a technique used to find ancestors in a binary tree.
It involves precomputing the ancestors of each node using dynamic programming.
The k-th ancestor of a node can be found by repeatedly jumping up the tree in powers of 2.
Example: Given a binary tree with nodes 1, 2, 3, 4, 5, 6, 7, the 2nd ancestor
Top trending discussions
I applied via Campus Placement and was interviewed in Jan 2024. There were 4 interview rounds.
Segment tree questions and dp questions
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
C++ basic and advance level
I applied via Campus Placement and was interviewed in Jan 2024. There were 4 interview rounds.
Segment tree questions and dp questions
based on 1 interview
Interview experience
based on 4 reviews
Rating in categories
Software Engineer
1.6k
salaries
| ₹7.1 L/yr - ₹22 L/yr |
Lead Engineer
637
salaries
| ₹10 L/yr - ₹39.7 L/yr |
Senior Software Engineer
530
salaries
| ₹7.8 L/yr - ₹33 L/yr |
Chief Engineer
373
salaries
| ₹14 L/yr - ₹51 L/yr |
Engineer
317
salaries
| ₹5.5 L/yr - ₹22 L/yr |
Microsoft Research
IBM Research
Intel
TCS