the output for input case "dvdf" should be 2 right? expected output is 3 how?
My solution is not accepted. I am assuming output should be "dv" - longest seq so length 2 should be the correct answer.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.