public static boolean isPowOfTwo(int num) {
    
}


This Coding Interview Question is available with an answer in the following programming languages :