Implement a Trie - LeetCode 208 - JavaScript

preview_player
Показать описание


Step by step walk through of the solution to the popular Google coding interview question, Implement a Trie.

LeetCode 208

JavaScript

0:00 Intro
1:15 Explanation
3:35 Code

#softwareengineering #javascript #leetcode
Рекомендации по теме
Комментарии
Автор

what happens if you have two words like "heli" and "helicopter"? would you not be able to return true for helicopter since "heli" has a true attached to it and you would run into the 'true'? or would you be able to traverse further down the trie? and the "true" just denotes where words CAN end?

Grahammpatton