New Test Case/Clarification needed?


  • 0
    2

    Unless I'm mistaken, looks like the question doesn't mention repeating characters. e.g.

    input:
    "abcd"
    "abcdde"

    Expected Answer: 'e'

    In this case the character 'd' is repeated in the output but the expected output only requires the character 'e' to be returned.


  • -1

    Garbage in, garbage out.


Log in to reply
 

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