Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/07/06 (1)
넘치게 채우기
[LeetCode] 2582. Pass the Pillow
https://leetcode.com/problems/pass-the-pillow/description/leetcode - Pass the Pillow문제 유형 : 수학, 구현문제 난이도 : Easy 문제There are n people standing in a line labeled from 1 to n. The first person in the line is holding a pillow initially. Every second, the person holding the pillow passes it to the next person standing in the line. Once the pillow reaches the end of the line, the direction changes, an..
PS/LeetCode
2024. 7. 6. 15:20