![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构与算法
Samdom
这个作者很懒,什么都没留下…
展开
-
LeetCode 237:删除链表中的节点
leetcode 237:删除链表中的节点题目请编写一个函数,使其可以删除某个链表中给定的(非末尾)节点,你将只被给定要求被删除的节点。现有一个链表 – head = [4,5,1,9],它可以表示为:4->5->1->9示例 1:输入: head = [4,5,1,9], node = 5输出: [4,1,9]解释: 给定你链表中值为 5 的第二个节点,那么...原创 2019-07-29 11:44:41 · 94 阅读 · 0 评论 -
Golang实现单链表
Github地址:https://github.com/zhoushaodong666/Go-DataStructuresAlgorithms单链表实现package _1_linklistimport ( "fmt" "github.com/pkg/errors")/*Project: 单链表的基本操作Author: zhoushaodongEmail: 11388946...原创 2019-07-29 11:43:20 · 243 阅读 · 0 评论