x/masx200_leetcode_test/power-of-two/index.ts
1234export default function isPowerOfTwo(n: number): boolean { return Number.isInteger(Math.log2(n));}