We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Balanced Brackets
Balanced Brackets
Sort by
recency
|
1600 Discussions
|
Please Login in order to post a comment
Not the best solution in JS but meh.
//Java public static String isBalanced(String s) { if (s.length() % 2 != 0) { return "NO"; }
}
Python
Python