최종 풀이(2023.04.06)결과 : 성공2번이상의 시도 끝에...다른 사람이 푼 코드를 참고하여 풀었다.처음 Sun(https://github.com/study-swift/algorithm/pull/12/files내가 진짜 어렵게 푼 거였구나 마지막 인덱스