North Interview Question

Code a simple creating pairs problem