In java without using scanner
A string is an anagram of another if its letters can berearranged to produce the other string. For example, "forty five"is an anagram of "over fifty". Write a program that checkswhether two strings given on the command line are anagrams. Youshould not use any sorting method. You can assume the strings willonly contain letters (a – z, A – Z) and spaces.
Examples
In java without using scanner A string is an anagram of another if its letters can be rearranged to produce the other st
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am