2. Anagram A string is an anagram of another if its letters can be rearranged to produce the other string. For example,

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

2. Anagram A string is an anagram of another if its letters can be rearranged to produce the other string. For example,

Post by answerhappygod »

2. Anagram
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 checks whether two strings given on thecommand line are anagrams. You should not use any sorting method.You can assume the strings will only contain letters (a – z, A – Z)and spaces.
Examples
Please write in java and provide screenshot of output
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply