【题目】 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 s ...
分类:
其他好文 时间:
2018-11-09 19:24:55
阅读次数:
155
题目链接:https://leetcode.com/problems/palindrome-number/description/ Determine whether an integer is a palindrome. An integer is a palindrome when it rea ...
分类:
其他好文 时间:
2018-11-08 16:25:41
阅读次数:
123
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Example 3: ...
分类:
其他好文 时间:
2018-11-07 20:08:53
阅读次数:
185
Check whether the original sequence org can be uniquely reconstructed from the sequences in seqs. The org sequence is a permutation of the integers fr... ...
分类:
其他好文 时间:
2018-11-06 11:11:32
阅读次数:
186
In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as much as ...
分类:
其他好文 时间:
2018-11-05 16:24:21
阅读次数:
152
通过这个方法可以检测设备是否连接成功,如果有一台或者多台设备,可以将所有设备序列号全部输出 无设备连接输出如下: 有一台设备连接如下: 有两台设备连接如下: 有三台设备连接如下: 暂时没有这么多设备,请自行拿代码去验证 ^_^ ...
分类:
移动开发 时间:
2018-11-05 15:14:54
阅读次数:
181
Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of ...
分类:
编程语言 时间:
2018-11-04 11:17:43
阅读次数:
165
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: trueEx... ...
分类:
其他好文 时间:
2018-11-03 23:07:47
阅读次数:
174
https://leetcode.com/problems/palindrome-number/description/ Determine whether an integer is a palindrome. An integer is a palindrome when it reads th ...
分类:
其他好文 时间:
2018-11-02 23:34:06
阅读次数:
114
题目: Description You are to write a program that has to decide whether a given line segment intersects a given rectangle. An example: line: start point ...
分类:
其他好文 时间:
2018-10-29 16:13:42
阅读次数:
158