Skip to content

Commit 2899f7e

Browse files
hi
1 parent 4982729 commit 2899f7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

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

0 commit comments

Comments
 (0)