[99클럽 코테 스터디 15일차 TIL] LeetCode - Prefix and Suffix Search
99클럽 코테 스터디 15일차 TIL 입니다.
Hard
Input
["WordFilter", "f"]
[[["apple"]], ["a", "e"]]
Output
[null, 0]
Explanation
WordFilter wordFilter = new WordFilter(["apple"]);
wordFilter.f("a", "e"); // return 0, because the word at index 0 has prefix = "a" and suffix = "e".문제 요약
풀이 코드
돌아보기
다음에는
Last updated