06 2019 档案
摘要:Leetcode 101. Symmetric Tree Easy Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this bin
阅读全文
摘要:Leetcode 70 Climbing Stairs Easy https://leetcode.com/problems/climbing-stairs/ You are climbing a stair case. It takes n steps to reach to the top. E
阅读全文
摘要:Leetcode 53 Maximum Subarray Easyhttps://leetcode.com/problems/maximum-subarray/Given an integer array nums, find the contiguous subarray (containing
阅读全文
摘要:参考网站: https://www.geeksforgeeks.org/insertion-sort/ 整体思想如下图,没错,和你想的一样,不要觉得不可能这么简单,确实就这么简单,但是代码写起来还是有一些注意的地方,否则写不出来。 写在后面: 理解代码没有捷径,就是干! 欢迎留言、点赞、交流、指正!
阅读全文
摘要:https://leetcode.com/problems/sort-list/ Sort a linked list in O(n log n) time using constant space complexity. Example 1: Example 2: 下面代码参考连接: https:
阅读全文

浙公网安备 33010602011771号