What is the difference in DCLL when linking the end of the list to the new node in Push ( true when creating new pointer last , else false ) ?
I don't get it , i am not changing the *headRef value so pointer last should be the same but if i use "last" instead of "(*headRef)->prev" in line 14 the code won't pass the test cases , it gives another output . Where is the problem ?

