Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2186. Minimum Number of Steps to Make Two Strings Anagram II
Given two lowercase strings, find the minimum number of single-character append operations to make them anagrams — this reduces to computing character frequencies and summing the absolute differences for each of the 26 letters (i.e., bringing the smaller count up to the larger for each character).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.