码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
LeetCode开心刷题第四天——7逆序8字符转数字
7 Reverse Integer Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an env ...
分类:其他好文   时间:2019-06-12 09:19:11    阅读次数:90
LeetCode Reverse Integer
六月箴言 万物之中,希望最美;最美之物,永不凋零。—— 斯蒂芬·金 第二周算法记录 007 -- Reverse Integer (整数反转) 题干英文版: Given a 32-bit signed integer, reverse digits of an integer. Example 1: ...
分类:其他好文   时间:2019-06-09 13:24:56    阅读次数:110
[leetcode]93. Restore IP Addresses还原IP地址
Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: 题意 给定一个没加点的IP地址,返回所有可能的合法IP地址。 思路: ...
分类:其他好文   时间:2019-06-01 09:49:58    阅读次数:93
[LeetCode] 2. Add Two Numbers 两个数字相加 java语言实现 C++语言实现
[LeetCode] Add Two Numbers 两个数字相加 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse or ...
分类:编程语言   时间:2019-05-30 01:33:41    阅读次数:103
Next Closest Time
Given a time represented in the format "HH:MM", form the next closest time by reusing the current digits. There is no limit on how many times a digit ...
分类:其他好文   时间:2019-05-28 09:40:35    阅读次数:101
PAT_A1132#Cut Integer
Source: PAT A1132 Cut Integer (20 分) Description: Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long int ...
分类:其他好文   时间:2019-05-24 22:26:05    阅读次数:138
第三章-列表简介
1、列表是什么 列表是由一系列按特定顺序排列的元素组成。 鉴于列表通常包含多个元素,给列表制定一个表示复数的名称(如letters,digits或names)是个不错的主意。 在Python中,用方括号([ ])来表示列表,并用逗号来分割其中元素。 1.访问列表元素 列表是有序集合,因此要访问列表的 ...
分类:其他好文   时间:2019-05-24 18:43:53    阅读次数:118
LeetCode 2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2019-05-23 00:02:42    阅读次数:117
A. Telephone Number
链接:https://codeforces.com/contest/1167/problem/A 题意: A telephone number is a sequence of exactly 11 digits, where the first digit is 8. For example, t ...
分类:其他好文   时间:2019-05-21 15:54:36    阅读次数:176
869. Reordered Power of 2
Starting with a positive integer N, we reorder the digits in any order (including the original order) such that the leading digit is not zero. Return  ...
分类:其他好文   时间:2019-05-20 23:00:12    阅读次数:186
2164条   上一页 1 ... 22 23 24 25 26 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!