The BHW Group Interview Question

Basic data structure questions, recursion problem