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 513b421 commit 7055acdCopy full SHA for 7055acd
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