Question: /* Precondition: Two valid strings s1 and s2, each containing a mix of alphabets, spaces and punctuations * Post condition: Return true if one string

/* Precondition: Two valid strings s1 and s2, each containing a mix of alphabets, spaces and punctuations * Post condition: Return true if one string is an anagram of the other string. White spaces, punctuations and * the case for the letters (upper or lower) should not * affect your result */ bool isAnagram(string s1, string s2){ return true: }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
