Deloitte Interview Question

Some technical questions were pretty tough