Skip to content

aethanol/trie-impl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethan Anderson
cse374 - hw5

I am quite happy with the way that I am handling printing and freeing of nodes. The code that is involved is really simple. I am also happy with starting to learn more about how to handle user input in a better way than just with scanf. Though I would still like to learn a little more about hwo to strip a users input of leading spaces and other bad input.
I am least confident in the way that I am allocating the word for each TrieNode struct. I used calloc which is nice for it's automatic zeroing of the char array, but it's slower and I think this could be probably better done in malloc.

About

Trie (prefix tree) implementation in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published