We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5b163 commit 5214953Copy full SHA for 5214953
src/main/java/com/fishercoder/solutions/_342.java
@@ -5,8 +5,14 @@
5
*
6
* Given an integer (signed 32 bits), write a function to check whether it is a power of 4.
7
8
- * Example:
9
- * Given num = 16, return true. Given num = 5, return false.
+ * Example 1:
+ * Input: 16
10
+ * Output: true
11
+ *
12
+ * Example 2:
13
+ * Input: 5
14
+ * Output: false
15
16
* Follow up: Could you solve it without loops/recursion?
17
* */
18
public class _342 {
0 commit comments