← Microsoft questions

Check if two strings are anagrams

Filed under Microsoft · Also reported at Akamai, Betsol, Early-Stage Startup, Ecare Technology Labs, In Time Tec, Infoedge, Informatica, Infosys and 14 more

Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram is a word or phrase formed by rearranging the letters of a different, using all the original letters…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.