mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
Change the Trie.c
Removed the blank lines
This commit is contained in:
parent
0c0d2a2a56
commit
3cba1a56cb
@ -31,7 +31,6 @@ TrieNode *createTrieNode()
|
||||
i++;
|
||||
}
|
||||
return node;
|
||||
|
||||
}
|
||||
|
||||
/*--Insert new word to Trie--*/
|
||||
@ -58,7 +57,6 @@ void insert(TrieNode *root,char *word)
|
||||
root->isEndOfWord = true;
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
/*--Search a word in the Trie--*/
|
||||
@ -112,7 +110,6 @@ void printPathsRecur(TrieNode* node, char prefix[], int filledLen)
|
||||
{
|
||||
printPathsRecur(node->children[i], prefix, filledLen);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*--Travel through the Trie and return words from it--*/
|
||||
|
Loading…
Reference in New Issue
Block a user