
算法
Java
Leetcode
Java
Leetcode
Question
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.
See it on Leetcode
|
|
Hint
- The given node could be any node except the tail.
- You’re given only access to that node.
Solution in Java, C++ and Python
- java
- cpp
- python
1 |
|




近期评论