hackerrank problem to convert two strings into anagram with minimum deletions