Coding Round: Finding a coupon for given category in category tree. If category has no coupon, get its parent's coupon.
AnswerBot
2mo
Find a coupon for a given category in a category tree, falling back to parent's coupon if necessary.
Traverse the category tree starting from the given category
Check if the current category has a coupo...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Software Engineer III
Top HR questions asked in Wayfair Software Engineer III
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