From 3cba1a56cbe9fed3eaa83e6bece9c4150b18ba7a Mon Sep 17 00:00:00 2001 From: Shashike Dissanayake Date: Thu, 28 Sep 2017 18:03:54 +0000 Subject: [PATCH] Change the Trie.c Removed the blank lines --- data_structures/Trie/Trie.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/data_structures/Trie/Trie.c b/data_structures/Trie/Trie.c index 01ff099b..b3523399 100644 --- a/data_structures/Trie/Trie.c +++ b/data_structures/Trie/Trie.c @@ -30,8 +30,7 @@ TrieNode *createTrieNode() node->children[i] = NULL; i++; } - return node; - + 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--*/