LinkedList isPalindrome check always returns True

后端 未结 0 889

1st if check is to ensure left i.e starting node and right i.e ending node data if they do not match false is returned, but control flow is not returned out of function, ins

相关标签:
回答
  • 消灭零回复
提交回复
热议问题