map declaration for storing key value pair means for storing subproblem result
static HashMap < String , Boolean > mp = new HashMap < String , Boolean > ( ) ; static boolean isScramble ( String S1 , String S2 ) {