Minimum Number of Steps to Make Two Strings Anagram at DoorDash

Medium82.5% acceptance

This problem has 62.5% frequency at DoorDash.

Problem Description

You are given two strings of the same length `s` and `t`. In one step you can choose **any character** of `t` and replace it with **another character**. Return _the minimum number of steps_ to make `t` an anagram of `s`. An **Anagram** of a string is a string that contains the same characters with...

Read full problem and hints

Topics

Also asked at 9 companies


More DoorDash Questions

View all DoorDash questions