Search posts, tags, users, and pages
Dhawal Pandya
Writer | Coder
Valid Anagram is a common interview question that is often used to assess a candidate's understanding of string manipulation and data structures. The problem asks whether two given strings are anagrams of each other, meaning that they contain the sam...
Isaac Shiffman
your python XOR solutuon is not valid. It does not work for the two strings s= "aa" and t="bb" because it will return true in this case
You know what? That is correct, I had not thought of that edge case. Let me remove that solution.
Thank you for bring that to my attention, cheers.
Isaac Shiffman
your python XOR solutuon is not valid. It does not work for the two strings s= "aa" and t="bb" because it will return true in this case