781
-
[LeetCode] 781. Rabbits in ForestLeetCode 2021. 11. 10. 11:57
https://leetcode.com/problems/rabbits-in-forest/ Rabbits in Forest - 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 Rabbits in Forest - Medium 각각의 토끼에게 "너네와 같은 색을 가진 다른 토끼는 몇 마리가 있니?" 라고 물었을때 대답들이 주어진다. 이 대답들을 가지고 유추하여 이곳에 최소한 몇 마리의 토끼가 있어야하는지 묻는 문제다. 예시를 보고 유추해보자. -1번 예시 토끼1 : 1마..