Binary representation Write a program to print Binary representation of a given number N. Time : O(1) Space : O(1) 12345678910111213class Solution{public: string getBinaryRep(int N) { string res = ""; for(long long i = 29; i >= 0; i--) { res.push_back((bool)(N & (1<<i)) | 0b110000); } return res; }};