r/codinginterview • u/stormosgmailcom • Feb 05 '23
How to check an anagram in C?
https://devhubby.com/thread/how-to-check-an-anagram-in-c
1
Upvotes
r/codinginterview • u/stormosgmailcom • Feb 05 '23
1
u/nikhil909 Feb 06 '23
First make up a hash map of first character array and the compare it to second array
Or else store the ASCII value of first character array and sort it do the same for second array and compare both the arrays