摘要: LeetCode 0257. Binary Tree Paths二叉树的所有路径【Easy】【Python】【DFS】 Problem "LeetCode" Given a binary tree, return all root to leaf paths. Note: A leaf is a n 阅读全文
posted @ 2020-03-02 23:07 Wonz 阅读(221) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0206. Reverse Linked List反转链表【Easy】【Python】【链表】 Problem "LeetCode" Reverse a singly linked list. Example: Follow up: A linked list can be rev 阅读全文
posted @ 2020-03-02 16:04 Wonz 阅读(142) 评论(0) 推荐(0) 编辑