Friday, 8 January 2016

Regular Expresso-Match Maker

Problem:

https://www.hackerrank.com/contests/regular-expresso/challenges/match-maker

Solution:

public class Solution {   

    public static void main(String[] args) {
       
        Regex_Test tester = new Regex_Test();
        tester.checker("aa($|d|g|j|bc|bf)|e.c|.b.+e|ff|.bh"); // Use \\ instead of using \
   
    }
}

No comments:

Post a Comment