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.
final
1 parent f80b6db commit 5a5171aCopy full SHA for 5a5171a
src/main/java/com/thealgorithms/bitmanipulation/HighestSetBit.java
@@ -12,7 +12,7 @@ public final class HighestSetBit {
12
private HighestSetBit() {
13
}
14
15
- public static final Optional<Integer> findHighestSetBit(int num) {
+ public static Optional<Integer> findHighestSetBit(int num) {
16
if (num < 0) {
17
throw new IllegalArgumentException("Input cannot be negative");
18
0 commit comments