Swap Most Frequent Letter with Least Given a sentence, swap the occurrences of the most frequent letter with the least frequent letter and vice-versa.
Consider upper and lower case letters as different. • If there are multiple letters with the same frequency, choose the lower case letter that comes earliest in dictionary order.
Answers
Answered by
0
Answer:
what is the main question
Similar questions