16 Technical Google Interview Questions for Software Engineers

Page 5 of 17

13. N nodes

You have a binary search tree and integer n, find out the most efficient way to locate two nodes of the three whose summation is equaled to “n”?

16 Technical Google Interview Questions for Software Engineers

A and N photography/Shutterstock.com

Page 5 of 17