@StefanPochmann Yes, you are right. :)
I think that can be solved with the single instance of Random(), as I think same seed from the clock is used for all the Random instances. Thanks for your solution. I will understand your approach. :)
Sorry for the inconvenience. I have fixed this by including the definition of ListNode in the default code definition comments. You can click on the reload code definition button above the code editor to view the newest code definition.