Anagram

An anagram is word switch or word play. It is the result of rearranging the letters of a word or phrase to produce a new word or phrase, while using all the original letters only once.

In interviews, usually we are only bothered with words without spaces in them.

To determine if two strings are anagrams, there are a few approaches:


Revision #3
Created 28 December 2024 22:46:03 by victor
Updated 29 December 2024 21:43:02 by victor