Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
其他好文 时间:
2020-02-17 23:52:41
阅读次数:
90
1 """ 2 Given a linked list, swap every two adjacent nodes and return its head. 3 You may not modify the values in the list's nodes, only nodes itself ...
分类:
其他好文 时间:
2020-02-07 18:27:44
阅读次数:
58
Let's define a number ebne (even but not even) if and only if its sum of digits is divisible by 22 but the number itself is not divisible by 22. For e ...
分类:
其他好文 时间:
2020-02-03 15:36:17
阅读次数:
55
1 """ 2 Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). 3 For example, this binary tree [1,2,2,3,4,4,3] ...
分类:
其他好文 时间:
2020-02-02 23:54:27
阅读次数:
111
0、demographic:statistical description of populations 1、Extinction is a demographic process: the failure of one generation to replace itself with a sub ...
分类:
Web程序 时间:
2020-01-12 22:22:07
阅读次数:
122
原题链接在这里:https://leetcode.com/problems/find-the-closest-palindrome/ 题目: Given an integer n, find the closest integer (not including itself), which is a ...
分类:
其他好文 时间:
2020-01-05 09:47:45
阅读次数:
59
Given a linked list, swap every two adjacent nodes and return its head. You may not modify the values in the list's nodes, only nodes itself may be ch ...
分类:
其他好文 时间:
2019-12-29 12:53:05
阅读次数:
85
There are certain differences in products, of which cosmetics are the most obvious. In addition to the differences in the nature of the product itself ...
分类:
其他好文 时间:
2019-11-14 12:37:03
阅读次数:
148
https://serverfault.com/questions/859667/configure-nginx-how-to-handle-500-error-on-upstream-itself-while-nginx-handle ...
分类:
其他好文 时间:
2019-10-30 13:13:54
阅读次数:
80
Recursion is a technique in which a problem is solved by itself; it's a technique to solve most Divide & Conquer problems. Differences between Divide ...
分类:
其他好文 时间:
2019-08-18 09:30:00
阅读次数:
94