What about the tail node is considered?


  • 0
    Z

    if we are going to delete the tail node and only given that node, how could we do that??


  • -1
    N

    Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.