摘要: 题目 原始地址: "https://leetcode.com/problems/remove nth node from end of list/ /description" 描述 给定一个单链表,删除它的倒数第n个节点并返回它的头节点。 分析 题目很容易理解,最直观的做法是先遍历一遍数出链表的长度 阅读全文
posted @ 2017-04-27 10:03 北冥尝有鱼 阅读(84) 评论(0) 推荐(0) 编辑