码迷,mamicode.com
首页 >  
搜索关键字:palindrome numbers    ( 9163个结果
leetcode148two-sum
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two n ...
分类:其他好文   时间:2020-07-17 13:33:50    阅读次数:46
【leetcode_easy_array】1380. Lucky Numbers in a Matrix
problem 1380. Lucky Numbers in a Matrix 在矩阵中,如果一个数既是它所在行的最小值,又是它所在列的最大值,则称这个数为幸运数。找到矩阵中所有的幸运数。 Constraints All elements in the matrix are distinct. so ...
分类:其他好文   时间:2020-07-16 00:15:33    阅读次数:72
【HDU3709】平衡数Balanced Number
Description A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit ...
分类:其他好文   时间:2020-07-16 00:05:52    阅读次数:79
180. 连续出现的数字
地址:https://leetcode-cn.com/problems/consecutive-numbers/ ## 编写一个 SQL 查询,查找所有至少连续出现三次的数字。 示例: 编写一个 SQL 查询,查找所有至少连续出现三次的数字。 + + + | Id | Num | + + + | 1 ...
分类:其他好文   时间:2020-07-16 00:03:52    阅读次数:59
1344. Angle Between Hands of a Clock (M)
Angle Between Hands of a Clock (M) 题目 Given two numbers, hour and minutes. Return the smaller angle (in degrees) formed between the hour and the minut ...
分类:其他好文   时间:2020-07-15 10:47:17    阅读次数:102
leetcode260 Single Number III
260 Single Number III Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. ...
分类:其他好文   时间:2020-07-14 21:54:31    阅读次数:104
【题解】Street Numbers [UVA138]
【题解】Street Numbers [UVA138] 传送门:\(\text{Street Numbers [UVA138]}\) 【题目描述】 求满足 \(n<m\) 且 \(\sum_{i=1}^{n-1}i=\sum_{i=n+1}^{m}i\) 的正整数对 \(n,m\) 。从小到大输出前 ...
分类:其他好文   时间:2020-07-12 19:05:09    阅读次数:54
回文检查器
最近在刷 freeCodeCamp 上面的题目,遂想着把一些 js 的题目记录下来。 原题: JavaScript Algorithms and Data Structures Projects: Palindrome Checker Return true if the given string ...
分类:其他好文   时间:2020-07-12 15:05:44    阅读次数:70
leetcode [315. 计算右侧小于当前元素的个数]
(https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self/) 可以这样想:我们把nums数组中的数都放在数轴上,那么我们根据某个数,看他数轴前边有多少个数就可以得到对应的count,这样会存在三个问题: 问题一:怎么保 ...
分类:其他好文   时间:2020-07-11 19:10:27    阅读次数:53
[LeetCode] 241. Different Ways to Add Parentheses
Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. Th ...
分类:其他好文   时间:2020-07-11 12:41:31    阅读次数:54
9163条   上一页 1 ... 10 11 12 13 14 ... 917 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!