Get your own website
Python
Java
 
Python result:
Java result:
3 -> 5 -> 13 -> 2 -> null
3 -> 5 -> 13 -> 2 -> null