Problem:
https://www.hackerrank.com/contests/regular-expresso/challenges/balanced-stringsSolution:
public class Solution {public static void main(String[] args) {
Regex_Test tester = new Regex_Test();
tester.checker("^(?:(?:ab)|(?:ba))*$"); // Use \\ instead of using \
}
}
No comments:
Post a Comment