Loading tutorials
children dictionary and an is_end flag.3 min readinsert method from the previous chapters. Here you will add the two read operations: exact word search and prefix check.2 min readTrie class from the earlier chapters (TrieNode with children and is_end, plus insert, _find and search).3 min readTrie class with insert, search and starts_with from earlier chapters. You should also be comfortable with recursion and with dictionaries as child maps.3 min readTrieNode and Trie classes from earlier chapters, and that you know Big-O notation, dictionaries, and arrays. Each trie node needs a way to find the child that matches the next character. That choice affects memory use, speed, and the order in which you visi3 min readTrie class from earlier chapters, know Big-O notation, and know how Python dictionaries and sorted lists behave. It compares a trie with two common alternatives for storing a set of strings: a hash set and a sorted array.3 min readchildren dictionary and an is_end flag. You should also know how insert, _find and autocomplete work, and be comfortable with recursion and Big-O notation.3 min readinsert and search methods from the earlier chapters and that you know the end-of-word marker. It builds on both.2 min readis_end marker, and its memory costs. You should also be comfortable with Python slicing and dictionaries.2 min read