[Python] simple brute force
\nclass Solution:\n    def numberOfChild(self, n: int, k: int) -> int:\n        a = list(range(n))\n\n        while len(a) < k*2:\n            a.extend(list(ran
```\nclass Solution:\n    def numberOfChild(self, n: int, k: int) -> int:\n        a = list(range(n))\n\n        while len(a) < k*2:\n            a.extend(list(range(n - 2, -1, -1)))\n            a.extend(list(range(1, n)))\n\n        return a[k]\n```
['Python']