Check two strings are anagram of each other? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Check two strings are anagram of each other?

Check two strings are anagram of each other without using any string function. Where can i find answer of this question.Help if you can.

4th Oct 2022, 9:19 AM
parajal12
parajal12 - avatar
3 Answers
+ 2
Sort the letters of both strings alphabetically. Then compare the sorted strings/ character arrays.
4th Oct 2022, 2:14 PM
Lisa
Lisa - avatar
+ 1
Hi! have you tried to check?
4th Oct 2022, 10:15 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Yes , i checked on google ,but there they are solving it by using string function.Yaroslav Vernigora
4th Oct 2022, 12:47 PM
parajal12
parajal12 - avatar