Quantiphi Interview Question

asked a puzzle