CR2 Interview Question

Algorithms and complexity