InterviewBit Problems   Power of 2 : Solved


C++ Easy basic Solution (1)
Easy C solution (1)
C++ Solution without using given misleading hints (1)
Can any one explain why time limit got exceeded in my code? (2)
BigInteger java solution (1)
6 Line python3 solution (2)
Can somebody explain the fastest solution? (3)
Please explain java lightweight solution (1)
Python solution based on log2() function (2)
C++ solution for power of 2 (1)
I think its better than the editorial solution for understanding (2)
Can someone explain the lightweight soln? (4)
What's wrong in the solution (2)
Can also be solved using BigInteger in Java (1)
I believe 2^0 ==1 , so 1 should be considered a power of 2 (2)
Title of your comment : This Also works (1)
Partially correct answer-TLE (1)
Editorial solution sucks, there is a easier way (4)
Easy way to do in java (2)
Simple Java Solution: convert to an array of digits (1)
Isn't 1 a power of 2? 2^0 = 1. The problem doesn't consider 1 to be a power of 2 (2)
Bool test(string &A, int data) { int c=0,value=pow(2,data); while(A.s (1)
I am getting a partially correct answer. Can you tell me in which test case it is (1)