Remix.run Logo
tantalor 6 hours ago

I concur. I recall being a student and when implementing LL for the first time, you did it this way (mix your data and ptr to next node). It is baby's first linked list.