Skip to content

Commit ac9523b

Browse files
donghyeon95donghyeon95
authored andcommitted
feat: Valid Anagram DaleStudy#218
add comment
1 parent 402d5c0 commit ac9523b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

valid-anagram/donghyeon95.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
import java.util.HashSet;
33
import java.util.Map;
44

5+
/*
6+
map에 넣고 빼는 시간이 O(n)이라고는 하나, 시간이 걸린다.
7+
반복문으로 처리할 수 있는 방법이 없을까?
8+
*/
9+
510
class Solution {
611
public boolean isAnagram(String s, String t) {
712
boolean result = false;

0 commit comments

Comments
 (0)