Sir in decimal to binary conversion you have said that if we simply do then it will reverse the no. So it will give me complement actually and now I’m trying to convert it into decimal form but it won’t happening.
Not getting solution of number complement question from leetcode
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.