A single linked list deletes a node.

given a pointer p, how do I delete the node pointed to by a single linked list p?


  

single linked list P knows the position of P, so you can take out the value in the position of P, where there is the pointer of the next node, pair1. Then you delete this node, and then take the value of pendant 1. Delete it one by one

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46300-43145.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46300-43145.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?