Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
One Line Solution

utshaksaha

Jul 9, 2023

Return the following:

return sorted(s) == sorted(t)

3

0

Comments
Comments
A
aleksa.95 2 years ago

Yes, but that's O(nlogn).