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

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

Version Info

Tagged at
a year ago