All challenges

Algorithm challenge · DSA

Valid Anagram

Difficulty

easy

Time

~15m

Format

Single

Grading

Auto-graded

#python#javascript#typescript#go#java#cpp#rust#dsa#strings#hashing
Mission file // read carefullyeasy

Given two strings s and t, return true if t is an anagram of s, and false otherwise.

s = "anagram", t = "nagaram"  =>  true

Build with

isAnagram(s: string, t: string) → bool
PythonJavaScriptTypeScriptGoJavaC++Rust
2 tests
Auto-graded on submit
Start challenge

Sign in to save your progress.