-
https://leetcode.com/problems/find-the-duplicate-number/
Find the Duplicate Number - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
leetcode.com
플로이드 순환 알고리즘 (Floyd's Cycle detection Algorithm)
이를 문제에 적용하는 것은 아래 블로그를 참고하면 된다.
'알고리즘 > 리트코드' 카테고리의 다른 글
47. Permutations II (1) 2021.06.20 137. Single Number II (0) 2021.06.19 153. Find Minimum in Rotated Sorted Array (0) 2021.06.17 34. Find First and Last Position of Element in Sorted Array (0) 2021.06.16 1314. Matrix Block Sum (0) 2021.06.01 댓글