Simple Solution || Python || Bit Manipulation
\nclass Solution:\n    def concatenatedBinary(self, n: int) -> int:\n        ans = \'\'\n        for i in range(1, n + 1):\n            ans += str(bin(i)[2:])\n
```\nclass Solution:\n    def concatenatedBinary(self, n: int) -> int:\n        ans = \'\'\n        for i in range(1, n + 1):\n            ans += str(bin(i)[2:])\n            \n        return int(ans, 2) % ((10**9) + 7)\n```
['Bit Manipulation', 'Python']