Example #1
0
int main(void)
{
	Solution anagram;
	string s1 = "helloworld", s2 = "hellloowrd";

	if (anagram.anagram1(s1, s2)) {
		cout << "anagram1: yes" << endl;
	} else {
		cout << "anagram1: no" << endl;
	}

	if (anagram.anagram2(s1, s2)) {
		cout << "anagram2: yes" << endl;
	} else {
		cout << "anagram2: no" << endl;
	}

	return 0;
}