This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
Leetcode: 242. Valid Anagram Primary idea: Compare the character freequencies of the 2 arrays Time Complexity: O(n) Space Complexity: O(n)
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.