摘要: 7.2:链表删除给定值 1 // head = removeValue(head, 2); 2 public static Node removeValue(Node head, int num) { 3 // head来到第一个不需要删的位置 4 while (head != null) { 5 阅读全文
posted @ 2022-05-06 18:43 yzmarcus 阅读(39) 评论(0) 推荐(0)