Is the fastest solution joke?


#1

You are just traversing the node. W*F!


#2

well that’s why its fastest, there is no memory allocation, no mapping,just printing,
but for sure you can’t solve like this in a real interview.