The Captain's Room
-
Practice>Python>Sets>The Captain's Roomhackerrank.com 2019. 3. 8. 13:36
hackerrank.comThe Captain's RoomProblem link : https://www.hackerrank.com/challenges/py-the-captains-room/problemDifficulty : Easy TipProblem description is a bit longPoint is that captain's room number is appeared only onceOther room number is repeatedCreate defatultdict with lamda: 0room number is a key of dict, and +1 when the number is appearedcheck what key is only appeared one timeSolution..