| 45 | } |
| 46 | |
| 47 | bool comp(pair <string,int> p1, pair <string,int>p2){ |
| 48 | if (p1.second>=p2.second) return true; |
| 49 | return false; |
| 50 | } |
| 51 | |
| 52 | void searchAndPrint(vector <pair<string,int> > &words, TrieNode *root, string &prefix){ |
| 53 | TrieNode *temp=root; |
nothing calls this directly
no outgoing calls
no test coverage detected