removeAfter
Remove element after a node (remove the immediate next node). Time complexity O(1)
Return
T? element's value
Parameters
node
Node
Remove element after a node (remove the immediate next node). Time complexity O(1)
T? element's value
Node