front can i still do this?
this->head = this->head->next
You just need to save the previous head, switch, then delete the saved pointer to the previous head
Обсуждают сегодня