IBM Interview Question

Got a codesignal OA. Pretty standard