나의 풀이 function solution(n, lost, reserve) { const realLost = lost.filter((element) => !reserve.includes(element)).sort((a, b) => a - b); let realReserve = reserve.filter((element) => !lost.includes(element)).sort((a, b) => a - b); return ( n - realLost.filter((lost) => { const lend = realReserve.find((reserve) => Math.abs(reserve - lost) == 1); if (!lend) return lost; realReserve = realReserve.f..