242. Valid Anagram
# Easy
Three methods:
compare
s
tot
, find the element then delete it int
use map, traversal
s
to do increase, then traversalt
to do decreaseuse
sort()
, sort them first then compare in order
Last updated
# Easy
Three methods:
compare s
to t
, find the element then delete it in t
use map, traversal s
to do increase, then traversal t
to do decrease
use sort()
, sort them first then compare in order
Last updated