Posts

Showing posts from July, 2016

Given two strings, write a method to decide if one is a permutation of the other

Problem Given two strings, write a method to decide if one is a permutation of the other. Example)  Given two strings, "mom", "grandmom", your algorithm should return True because "mom" is the permutation of "grandmom".