from algorithms.backtrack import anagram

a="apple"
b="pleap"
print(anagram(a,b))

## 박제준 4/8
 def test_angram(self):
     self.assertTrue(anagram('apple', 'pleap'))
     self.assertFalse(anagram("apple", "cherry"))
Example #3
0
 def test_angram(self):
     self.assertTrue(anagram('apple', 'pleap'))
     self.assertFalse(anagram("apple", "cherry"))