$ ./trie_binary ----------------------------------------------------------------------->called init_aux() at line 348 from ../Shell/builtins/libstring.h ----------------------------------------------------------------------->called init_env() at line 327 from ../Shell/builtins/libstring.h ----------------------------------------------------------------------->called init_argX() at line 336 from ../Shell/builtins/libstring.h adding rule 1: segments [1, 0] root [10] adding rule 2: segments [0, 1] root [01] adding rule 3: root [00] segment.string = 1 key = 1 idx = 0 pCrawl->count = 2 pCrawl->idx[i] = 0 pCrawl->idx[i] = 1 final_match = true result = true segment.string = 0 key = 0 idx = 1 pCrawl->count = 2 pCrawl->idx[i] = 1 pCrawl->idx[i] = 0 final_match = true result = true 10 --- Present in trie segment.string = 0 key = 0 idx = 0 pCrawl->count = 2 pCrawl->idx[i] = 1 pCrawl->idx[i] = 0 final_match = true result = true segment.string = 1 key = 1 idx = 1 pCrawl->count = 2 pCrawl->idx[i] = 0 pCrawl->idx[i] = 1 final_match = true result = true 01 --- Present in trie segment.string = 0 key = 0 idx = 0 pCrawl->count = 2 pCrawl->idx[i] = 1 pCrawl->idx[i] = 0 final_match = true result = true segment.string = 0 key = 0 idx = 1 pCrawl->count = 2 pCrawl->idx[i] = 1 pCrawl->idx[i] = 0 final_match = true result = true 00 --- Present in trie