211. Design Add and Search Words Data Structure

새 단어 추가를 지원하고 문자열이 이전에 추가된 문자열과 일치하는지 확인하는 데이터 구조를 설계

  • void addWord(word) 데이터 구조에 단어를 추가하고 나중에 일치시킬 수 있습니다.
  • bool search(word) 데이터 구조에 단어와 일치하는 문자열이 있으면 true를 반환하고 그렇지 않으면 false를 반환

Continue reading

Pagination


© 2017. by yeopoong.github.io

Powered by yeopoong