Brinqa Interview Question

Assignment is bit Tough