Question: Problem Statement You are given two strings,s and t Your task is to determine if it's possible to rearrange the characters of s to form

Problem Statement
You are given two strings,s and t Your task is to determine if it's possible to rearrange the characters of s to form the string t
Write a function that returns true it its possible to create t by rearranging the characters of s and False othenvise.
Input
Two strings, s and t, where the length of s and t are between 1 and 1000 characters.
Output
Return True if it's possible to create t by rearranging the characters of s and False otherwise

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!