Should we first remove the repeated words in the given vector?


  • 0
    R

    Hi
    my question is if for instance
    given words are "ab" "ab" "ba", should I first process and remove the duplicates ?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.