2016年4月16日

Leetcode 100 Same Tree python

摘要: 题目: Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identic 阅读全文

posted @ 2016-04-16 14:19 def_sysu 阅读(344) 评论(0) 推荐(0)

leetcode 237 Delete Node in a Linked List python

摘要: 题目: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 阅读全文

posted @ 2016-04-16 14:10 def_sysu 阅读(429) 评论(0) 推荐(0)

Leetcode 283 Move Zeroes python

摘要: 题目: Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, 阅读全文

posted @ 2016-04-16 14:01 def_sysu 阅读(420) 评论(0) 推荐(0)

导航