function solution(participant, completion) { participant.sort(); completion.sort(); let answer = ''; for(var i = 0; i < participant.length; i++){ if(participant[i] !== completion[i]){ answer = participant[i]; return answer; } } }