Duke University Interview Question

Some technique questions