Skip to content

Commit 3535f2c

Browse files
committed
Update NestedBrackets.go
1 parent 4bc5b24 commit 3535f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

other/NestedBrackets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
)
2020

2121
func isBalanced(input string) string {
22-
if len(input)%2 == 0{
22+
if len(input)%2 != 0{
2323
return input + "is not balanced."
2424
if len(input) > 0 {
2525
var stack []byte

0 commit comments

Comments
 (0)