https://leetcode.com/problems/find-all-anagrams-in-a-string/


Runtime: 1284 ms, faster than 12.91% of Python3 online submissions for Arranging Coins.
Memory Usage: 14.2 MB, less than 69.37% of Python3 online submissions for Arranging Coins.


```python
class Solution:
    def arrangeCoins(self, n: int) -> int:
        #7:11
        i = 0
        level = 0
        while True:
            i += level + 1
            level += 1
            #print(i, level)
            if i == n:
                return level
            elif i > n:
                return level - 1
        return 0
        #7:24
```
