Brute Force works?
\ndef d(n):  \n    return bin(n).replace("0b", "") \nclass Solution:\n    def concatenatedBinary(self, n: int) -> int:\n        a=""\n        for i in range(1,n
```\ndef d(n):  \n    return bin(n).replace("0b", "") \nclass Solution:\n    def concatenatedBinary(self, n: int) -> int:\n        a=""\n        for i in range(1,n+1):\n            a+=d(i)\n        return int(a,2)%(pow(10,9)+7)\n```\n\nNo idea whats the point of this question?
[]