We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad6179d commit 877402cCopy full SHA for 877402c
lectures/08-arrays/code/src/com/kunal/Max.java
@@ -9,7 +9,7 @@ public static void main(String[] args) {
9
// work on edge cases here, like array being null
10
static int maxRange(int[] arr, int start, int end) {
11
12
- if (end > start) {
+ if (start > end) {
13
return -1;
14
}
15
0 commit comments