โ† Expedia questions
CodingEasy

Maximum modifications to make two strings anagrams

Filed under Expedia

Given two strings `s1` and `s2`, determine the minimum number of character modifications (replacements) required to make them anagrams of each other. Return -1 if the strings are of unequal length.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Expedia questions

Collected from public candidate posts and coding forums. Updated Nov 2026.