[NeetCode] Is Anagram
NeetCode synced attempts for Is Anagram.
Tags: algorithms, neetcode, python
Categories: NeetCode
- Problem
- Synced automatically from
devbattery/neetcode-submissions
Notes
Write your own notes here. This section is preserved across syncs.
Attempts
Attempt 1 ยท 2026-04-21 ยท Python
- Commit:
dc206ae - Source:
Data Structures & Algorithms/is-anagram/submission-0.py
class Solution:
def isAnagram(self, s: str, t: str) -> bool:
return sorted(s) == sorted(t)
Leave a comment