Skip to content

Commit 4982729

Browse files
time and space complexity for BalancedBrackets.java file
1 parent 6fed8c7 commit 4982729

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/thealgorithms/stacks/BalancedBrackets.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public static boolean isBalanced(String brackets) {
8282
/**
8383
* Time Complexity: O(n)
8484
* Space Complexity: O(n)
85-
*
8685
* reasons:
8786
* 1. The time complexity of the isBalanced method is O(n), where n is the
8887
* length of the input string.

0 commit comments

Comments
 (0)