Solve three algorithmic OA problems | DRW Interview Question