Check two strings are anagrams

suggest change

Introduction

Two string with same set of character is called anagram. I have used javascript here.

We will create an hash of str1 and increase count +1. We will loop on 2nd string and check all characters are there in hash and decrease value of hash key. Check all value of hash key are zero will be anagram.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents