Easy · Hashing · about 10 minutes
Asked at Bloomberg, Microsoft, Meta, Google, Amazon.
s and t are lowercase. Return true when t is a rearrangement of s: both use exactly the same letters, each the same number of times.
s
t