DAILY LEETCODE SOLUTION || EASY C++ SOLUTION
\nclass Solution {\npublic:\n    long long int mod=1e9+7;\n    int concatenatedBinary(int n) {\n        long long int ans=0;\n        for(long long int i=1;i<=n
```\nclass Solution {\npublic:\n    long long int mod=1e9+7;\n    int concatenatedBinary(int n) {\n        long long int ans=0;\n        for(long long int i=1;i<=n;i++)\n        {\n            ans=(ans<<(long long int)(log2(i)+1))%mod;\n            ans=(ans+i)%mod;\n        }\n        return ans;\n    }\n};\n```
['Math', 'Bit Manipulation', 'C']