For the below input:
"dog cat cat dog"
The expected answer is "False" but I am expecting it to be "True". Can someone help me in this?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.