码迷,mamicode.com
首页 >  
搜索关键字:whether    ( 1481个结果
Subtree of Another Tree
Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. A subtree of s is a ...
分类:其他好文   时间:2018-10-15 11:52:49    阅读次数:128
[leetcode]219.Contains Duplicate II
题目 Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and t ...
分类:其他好文   时间:2018-10-14 14:13:21    阅读次数:145
[LeetCode] 572. Subtree of Another Tree
Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. A subtree of s is a ...
分类:其他好文   时间:2018-10-14 14:05:13    阅读次数:139
LeetCode 9. Palindrome Number(回文数)
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-10-11 20:06:25    阅读次数:132
CodeSignal 刷题 —— almostIncreasingSequence
Given a sequence of integers as an array, determine whether it is possible to obtain a strictly increasing sequence by removing no more than one eleme ...
分类:其他好文   时间:2018-10-07 14:41:32    阅读次数:308
Python中函数Function知识点
In general, you can tell whether something is callable or not with the built-in function callable. 1 import math 2 3 x=1 4 y=fibs_compute 5 print(call ...
分类:编程语言   时间:2018-10-05 12:21:40    阅读次数:147
Fibonacci
题目链接 Problem DescriptionFibonacci numbers are well-known as follow: Now given an integer N, please find out whether N can be represented as the sum of ...
分类:其他好文   时间:2018-10-04 13:44:28    阅读次数:183
HDU 5572--An Easy Physics Problem(射线和圆的交点)
An Easy Physics Problem Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 3845 Accepted Submission( ...
分类:其他好文   时间:2018-10-04 11:36:40    阅读次数:187
[LeetCode] 255. Verify Preorder Sequence in Binary Search Tree 验证二叉搜索树的先序序列
Given an array of numbers, verify whether it is the correct preorder traversal sequence of a binary search tree. You may assume each number in the seq ...
分类:其他好文   时间:2018-10-02 14:20:32    阅读次数:165
[LeetCode] 464. Can I Win 我能赢吗
In the "100 game," two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach o ...
分类:Windows程序   时间:2018-10-02 13:52:24    阅读次数:407
1481条   上一页 1 ... 20 21 22 23 24 ... 149 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!