Closed conradojordan closed 3 years ago
Starting with a positive integer N, we reorder the digits in any order (including the original order) such that the leading digit is not zero.
Return true if and only if we can do this in a way such that the resulting number is a power of 2.
class Solution: def reorderedPowerOf2(self, N: int) -> bool:
LeetCode
I would like to be assigned this issue, if possible
@conradojordan Waiting for your PR 😸
Description of the Problem
Starting with a positive integer N, we reorder the digits in any order (including the original order) such that the leading digit is not zero.
Return true if and only if we can do this in a way such that the resulting number is a power of 2.
Code
Link To The LeetCode Problem
LeetCode