Why my java have not the class about ListNode???
my jdk version is 1.8,I am confused.
You need provide your own ListNode class. Simply copy the commented code and create new java class in your project.
got it,thank you very much
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.