ZS Associates Interview Question

How to check if two strings are anagrams?

Interview Answer

Anonymous

Sep 3, 2025

I explained sorting both strings and comparing, or using character frequency with a hash map.