• + 1 comment

    I tried trie method but some cases are still giving 'timeout' output and no. of cases that show 'timeout' error differ each time I hit 'Submit Code' button.