![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
馒头5188
有问题,邮箱mantou5188@gmail.com
展开
-
两数相加 (golang)
Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numb...原创 2018-10-30 08:51:57 · 849 阅读 · 0 评论 -
实现单链表 (PHP)
分为两个类:定义结构和实现单链表 实现链表插入,读取,删除 <?php /** * PHP 单链表 */ /** * TODO:构建链表节点 * */ Class Node { public $data; public $next; public function __construct($val, $nex) { $this...原创 2018-11-02 10:01:20 · 178 阅读 · 0 评论