deno.land / x / masx200_leetcode_test@10.6.5 / power-of-two / index.ts

نووسراو ببینە
1
2
3
4
export default function isPowerOfTwo(n: number): boolean { return Number.isInteger(Math.log2(n));}
masx200_leetcode_test

Version Info

Tagged at
a year ago