This is very interesting and helpful tip. I just felt its quite similar to adding a new node to link list in C and moving pointer to next :)