Criteo Interview Question

cracking the coding interview or leet code