Trianz Interview Question

Problem solving and algorithms