Domanda di colloquio di Bloomberg

How would you implement a trie?

Risposta di colloquio

Anonimo

5 dic 2014

Object composition. Node containing a list of other nodes and the data itself. The trie class would be composed of this node object.