Anonymous Interview Question

asked to solve 4 technical questions