about | help | code help+videos | done | prefs |
Write a method that accepts a String and checks to make sure all of the parenthesis in the String form matching pairs. Return true if they all match, but return false if any parentheisis go unmatched. parenthesisMatch("())(()") → false parenthesisMatch(")(())(") → false parenthesisMatch("()()()()((()())())") → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 330
Copyright Nick Parlante 2017 - privacy