211
-
[LeetCode] 211. Design Add and Search Words Data StructureLeetCode 2022. 1. 28. 11:26
https://leetcode.com/problems/design-add-and-search-words-data-structure/ Design Add and Search Words Data Structure - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 사전에 단어를 추가하고 검색하는 자료구조를 구현하는 문제다. addWord 호출시에는 해당 단어를 추가하고, search 호출시에는 해당 단어가 사전에 있는지 확인한다. 이 때 주의할 점은, . 이 들어간 ..