2018年3月16日
摘要: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (size tha 阅读全文
posted @ 2018-03-16 14:58 gtxvs 阅读(154) 评论(0) 推荐(0)
摘要: Given a binary tree, return the inorder traversal of its nodes' values. For example:Given binary tree [1,null,2,3], return [1,3,2]. 用的递归方法,提示上说递归方法太普通 阅读全文
posted @ 2018-03-16 00:11 gtxvs 阅读(131) 评论(0) 推荐(0)