Employeur impliqué
Write a code to construct a tree. It should get a string and generate related tree.
Utilisateur anonyme
I was so embarrassed, and I can not find the best answer to coding questions.
Was this question asked for the onsite interview or phone interview?
deserialize the tree from string
This is prefix tree class Trie { char ch; Trie[] links; boolean isAWord; public Trie(char ch, boolean isAWord) { this.ch = ch; this.isAWord = isAWord; } }
Tenez-vous au courant des dernières opportunités et profitez de conseils d’initiés en suivant les entreprises de vos rêves.
Obtenez des recommandations et des mises à jour personnalisées en démarrant vos recherches.