Change the Trie.c

Removed the blank lines
This commit is contained in:
Shashike Dissanayake 2017-09-28 18:03:54 +00:00 committed by GitHub
parent 0c0d2a2a56
commit 3cba1a56cb

View File

@ -31,7 +31,6 @@ TrieNode *createTrieNode()
i++; i++;
} }
return node; return node;
} }
/*--Insert new word to Trie--*/ /*--Insert new word to Trie--*/
@ -58,7 +57,6 @@ void insert(TrieNode *root,char *word)
root->isEndOfWord = true; root->isEndOfWord = true;
} }
return; return;
} }
/*--Search a word in the Trie--*/ /*--Search a word in the Trie--*/
@ -112,7 +110,6 @@ void printPathsRecur(TrieNode* node, char prefix[], int filledLen)
{ {
printPathsRecur(node->children[i], prefix, filledLen); printPathsRecur(node->children[i], prefix, filledLen);
} }
} }
/*--Travel through the Trie and return words from it--*/ /*--Travel through the Trie and return words from it--*/