Round 1 : DSA: 1)print all pairs with a target sum in an array (with frequency of elements). 2) Array to BST. 3) Top view of Binary Tree. 4) Minimum number of jumps to reach the end of an array
AnswerBot
1y
DSA questions on array and binary tree manipulation
For printing pairs with target sum, use a hash table to store frequency of elements and check if complement exists
For converting array to BST, use bi...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Software Engineer II
Top HR questions asked in Walmart Software Engineer II
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app