IBM interview question

Got a codesignal OA. Pretty standard