2020年5月9日
摘要: 1.Remove Nth Node From End of List (https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/) 刚看到题目的想法是使用两次遍历,第一次确定该链表的长度,再减去n,进行第二次遍历,从而删除对 阅读全文
posted @ 2020-05-09 23:22 六九八 阅读(106) 评论(0) 推荐(0)
摘要: Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file contains one t 阅读全文
posted @ 2020-05-09 14:42 六九八 阅读(189) 评论(0) 推荐(1)