码迷,mamicode.com
首页 >  
搜索关键字:whether    ( 1481个结果
680. Valid Palindrome II
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Input: "aba" Output: True Exa ...
分类:其他好文   时间:2020-02-04 11:04:16    阅读次数:77
leetcode101 Symmetric Tree
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
leedCode练题——9. Palindrome Number
1、题目 9. Palindrome Number Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example ...
分类:其他好文   时间:2020-01-29 17:47:22    阅读次数:55
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程序   时间:2020-01-24 10:44:58    阅读次数:98
[XState] Multiple Simultaneous States with Parallel States
Can you walk and talk at the same time? If so, you've experienced what it's like to be in two states at the same time. Hopefully, those two states hav ...
分类:其他好文   时间:2020-01-20 09:39:21    阅读次数:70
PAT Advanced 1065 A+B and C (64bit) (20分)
Given three integers A, B and C in [?], you are supposed to tell whether A+B>C. Input Specification: The first line of the input gives the positive nu ...
分类:其他好文   时间:2020-01-20 09:30:50    阅读次数:92
1296. Divide Array in Sets of K Consecutive Numbers
Given an array of integers nums and a positive integer k, find whether it's possible to divide this array into sets of k consecutive numbersReturn Tru ...
分类:其他好文   时间:2020-01-18 10:37:01    阅读次数:92
LeetCode 679. 24 Game
原题链接在这里:https://leetcode.com/problems/24-game/ 题目: You have 4 cards each containing a number from 1 to 9. You need to judge whether they could operate ...
分类:其他好文   时间:2020-01-16 14:51:19    阅读次数:97
[LC] 173. Binary Search Tree Iterator
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return the n ...
分类:其他好文   时间:2020-01-15 23:18:13    阅读次数:92
shell定期备份脚本
#!/bin/bashSOURCE_DIR=( $* )TARGET_DIR=/dataYEAR=`date +%Y`MONTH=`date +%m`DAY=`date +%d`WEEK=`date +%u`FILES=system_backup.tgzCODE=$?if [ -z "$*" ];t ...
分类:系统相关   时间:2020-01-07 00:30:01    阅读次数:116
1481条   上一页 1 ... 5 6 7 8 9 ... 149 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!