HARMAN Interview Question

basic c, c++, data structures