InterviewBit Problems
Power of 2 : Solved
About the Power of 2 : Solved category
(1)
Easy C++ Solution with simple and understandle logic
(2)
Easy C++ Solution | Different from Editorial
(1)
Easiest c++ soln using log2()
(2)
Answer that given in soln will work only for below 2^63 . here is soln that work for more than 100+ char.O(n^2)time O(n)space
(1)
Easy c++ solution.using and operation
(3)
[C++][Power of 2] divide and check recursively
(3)
Easy solution in java O(N)
(1)
Easy C++ sol using string
(1)
Let's Divide a string by 2
(1)
3 line code in c++
(5)
**Simplest, Easiest and Shortest code for this problem.**
(3)
My approach for this question :)
(1)
//**Simple Solution**//</>
(1)
Java BigInteger Solution
(1)
Simpe C++ CODE RoSh
(1)
C++ Solution, common division approach
(3)
Accepted c++ solution in O(1)
(1)
Python3 Easy :)
(1)
Java in 2 lines
(4)
Basic and easy to understand C++ solution with comments
(2)
Simple implementation with using any library functions
(1)
Intuitive approach without stold (WITH EXPLANATION)
(1)
Easy Python 3.xx Solution
(1)
6th line cpp solution
(1)
Don't use floor to check if integer
(1)
Misleading hints
(3)
Easy Java solution using BigInteger
(1)
Basic division of number by 2 method! c++ string Implementation
(1)
Solution Given seems Wrong
(1)
next page →