Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Prefix Tree | Trees Part II
Data Structure & Algorithms PART I

bookPrefix Tree

OperationBest Time ComplexityAverage Time ComplexityWorst Time ComplexityMemory Complexity
SearchO(1)O(n)O(n)O(1)
InsertionO(n)O(n)O(n)O(n)
DeletionO(n)O(n)O(n)O(1)

Click here to download video subtitles.

question mark

Choose the right way to input words 'cake' and 'cat' into the Prefix Tree.

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 4. Chapitre 3

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Posez-moi des questions sur ce sujet

Résumer ce chapitre

Afficher des exemples du monde réel

Awesome!

Completion rate improved to 4.35

bookPrefix Tree

Glissez pour afficher le menu

OperationBest Time ComplexityAverage Time ComplexityWorst Time ComplexityMemory Complexity
SearchO(1)O(n)O(n)O(1)
InsertionO(n)O(n)O(n)O(n)
DeletionO(n)O(n)O(n)O(1)

Click here to download video subtitles.

question mark

Choose the right way to input words 'cake' and 'cat' into the Prefix Tree.

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 4. Chapitre 3
some-alt