No Prefix Set

  • + 0 comments

    If you are also wondering why the correctness is only 50%, please remember the following test cases (though I really think the problem should include more examples for the ambiguous results):

    1. ['gummy', 'gum'] => returns 'gum'
    2. ['gum', 'gummy'] => returns 'gummy'

    Hope this helps!