contains category wise problems(data structures, competitive) of popular platforms.
View the Project on GitHub mayankdutta/category-wise-problems
237. Delete Node in a Linked List, Easy
node
and we don’t have to return, means we will have to reflect back the changes.
void deleteNode(ListNode* node) {
*node = *(node -> next);
}