Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- two pointers
- matrix
- list
- tree
- dfs
- Depth-first Search
- linked list
- 문자열
- Medium
- easy
- 리트코드
- binary tree
- hash table
- 쉬움
- recursive
- leetcode
- 미디움
- 재귀
- 중간
- string
- backtracking
- Array
- math
- DP
- binary search
- Python
- HashTable
- Binary
- 이진트리
- sorting
Archives
- Today
- Total
목록Nim game (1)
부부의 코딩 성장 일기
LeetCode 292(Nim Game, Python)
1. 문제 링크 https://leetcode.com/problems/nim-game/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 2. 문제 설명 Nim Game 규칙 table에 돌무더기가 있다고 가정했을 때, 나와 나의 친구가 번갈아가면서 차례가 오고, 나 먼저 시작한다. 각 차례에서, 1~3개의 돌을 무더기에서 제외할 수 있고,..
Algorithm/LeetCode
2024. 3. 11. 19:00