public void MinSteps_1() { var solution = new _1347_MinimumNumberOfStepsToMakeTwoStringsAnagram(); var result = solution.MinSteps("bab", "aba"); Assert.AreEqual(1, result); }
public void MinSteps_4() { var solution = new _1347_MinimumNumberOfStepsToMakeTwoStringsAnagram(); var result = solution.MinSteps("xxyyzz", "xxyyzz"); Assert.AreEqual(0, result); }
public void MinSteps_5() { var solution = new _1347_MinimumNumberOfStepsToMakeTwoStringsAnagram(); var result = solution.MinSteps("friend", "family"); Assert.AreEqual(4, result); }
public void MinSteps_2() { var solution = new _1347_MinimumNumberOfStepsToMakeTwoStringsAnagram(); var result = solution.MinSteps("leetcode", "practice"); Assert.AreEqual(5, result); }