码迷,mamicode.com
首页 >  
搜索关键字:whether    ( 1481个结果
#Leetcode# 633. Sum of Square Numbers
https://leetcode.com/problems/sum-of-square-numbers/ Given a non-negative integer c, your task is to decide whether there're two integers a and b such ...
分类:其他好文   时间:2019-04-13 10:41:19    阅读次数:149
2.6 Rust Slice Type
字符串操作 Because we need to go through the String element by element and check whether a value is a space, we’ll convert our String to an array of bytes ...
分类:其他好文   时间:2019-04-12 13:21:25    阅读次数:173
20. Valid Parentheses
description: check whether the (){}[] is valid(is pair) Note: Example: my answer: "感恩" my answer 大佬的answer: class Solution { public: bool isValid(stri ...
分类:其他好文   时间:2019-04-10 15:10:36    阅读次数:117
LeetCode-101.Symmetric Tree
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 ...
分类:其他好文   时间:2019-04-09 20:27:21    阅读次数:175
520. Detect Capital
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 ...
分类:Windows程序   时间:2019-04-09 18:20:45    阅读次数:200
Period kmp
For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the pr ...
分类:其他好文   时间:2019-04-09 00:31:16    阅读次数:99
[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: ...
分类:其他好文   时间:2019-04-04 09:27:56    阅读次数:162
Palindrome Algorithm Questions
Given a string which we can delete at most k, return whether you can make a palindrome. For example, given 'waterrfetawx' and a k of 2, you could dele ...
分类:其他好文   时间:2019-03-29 13:05:49    阅读次数:107
【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  ...
分类:其他好文   时间:2019-03-23 22:47:38    阅读次数:151
101. Symmetric对称 Tree
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 ...
分类:其他好文   时间:2019-03-18 13:20:52    阅读次数:150
1481条   上一页 1 ... 12 13 14 15 16 ... 149 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!