filmov
tv
Leetcode - Power of Two Python solution

Показать описание
Algorithm: Divide recursively by 2 and check for remainder.
Time : O(log n)
Space: O(1)
#Leetcode #PowerOfTwo
Subscribe for more updates on #programming tips, coding interview questions and #algorithm patterns.