Skip to content

Commit 888f50a

Browse files
correct time complexity for 1237
1 parent d240c2e commit 888f50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fishercoder/solutions/_1237.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ abstract class CustomFunction {
5151
}
5252

5353
public static class Solution1 {
54-
/**Time: O(x+y)
54+
/**Time: O(x*y)
5555
* Space: O(1)*/
5656
public List<List<Integer>> findSolution(CustomFunction customfunction, int z) {
5757
List<List<Integer>> result = new ArrayList<>();

0 commit comments

Comments
 (0)