Tree and Linked List questions in phone interviews

Nov 10, 2020 4 Comments

Do we have to write linked list class or tree class for inserting elements then test the actual problem or just assume it's already written like leetcode?
If it's the latter then how do you guys test the code, just by dry run?

PS: In my two leetcode style phone interviews I didn't get a tree or linked list problem.

TC to be: 16L (New grad)
#tech #faang

comments

Want to comment? LOG IN or SIGN UP
TOP 4 Comments