This is awesome - learnt a lot and enjoyed the references along the way 😀
One question I have - in the remove_value() function because it changes the this.head value does that mean iterating it would start from the removal point?
How would you get it back to the start after removing a value of that is the case?
Thanks!! It only changes this.head if we are trying to remove the first value. Otherwise, only the node variables will change!
Ah I see, I read it wrong. Thanks for clarifying!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.