Skip to content

Commit

Permalink
valid-anagram sol
Browse files Browse the repository at this point in the history
  • Loading branch information
oyeong011 committed Dec 17, 2024
1 parent bddaee7 commit da5385c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions valid-anagram/oyeong011.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ class Solution {
}
};

// ๋ฌธ์ž์—ด ๋น„๊ต unordered_map์€ ํ•ด์‰ฌ ํ˜•ํƒœ์ด๋ฏ€๋กœ O(1)
// ๊ฐ ๋ฌธ์ž ๋ฃจํ”„ O(n)
// ๋งˆ์ง€๋ง‰ ๋ฌธ์ž ๋น„๊ต ํ•ด์‹œ๋ฉฅ ์•ŒํŒŒ๋ฒณ์€ 26๊ฐœ ์ด๋ฏ€๋กœ O(n)
// ๋”ฐ๋ผ์„œ O(n)

0 comments on commit da5385c

Please sign in to comment.