bp Interview Question

Coding based technical interview that lasted about 2 hours