https://leetcode.com/problems/pass-the-pillow/description/
Loop position in increasing-decreasing array #easy #math #simulation
Loop position in increasing-decreasing array #easy #math #simulation
👍3
https://leetcode.com/problems/water-bottles/description/
Bottles drink and exchange simulation #easy #math #simulation
Bottles drink and exchange simulation #easy #math #simulation
👍2
https://leetcode.com/problems/find-the-winner-of-the-circular-game/description/
Last of
Last of
k-th
excluded from 1..n
#medium #simulation #math👍3