- 博客(10)
- 收藏
- 关注
转载 Lintcode421 Simplify Path solution 题解
【题目描述】Given an absolute path for a file (Unix-style), simplify it.给定一个文档(Unix-style)的完全路径,请进行路径简化。【题目链接】www.lintcode.com/en/problem/simplify-pa...
2018-04-06 13:30:00
79
转载 Lintcode420 Count and Say solution 题解
【题目描述】The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11...
2018-04-05 17:48:00
72
转载 Lintcode419 Roman to Integer solution 题解
【题目描述】Given a roman numeral, convert it to an integer.The answer is guaranteed to be within the range from 1 to 3999.给定一个罗马数字,将其转换成整数。返回的结果要求在1...
2018-04-04 09:14:00
94
转载 Lintcode418 Integer to Roman solution 题解
【题目描述】Given an integer, convert it to a roman numeral.The number is guaranteed to be within the range from1to3999.给定一个整数,将其转换成罗马数字。返回的结果要求在1...
2018-04-03 12:08:00
78
转载 Lintcode417 Valid Number solution 题解
【题目描述】Validate if a given string is numeric.给定一个字符串,验证其是否为数字。【题目链接】www.lintcode.com/en/problem/valid-number/【题目解析】这是一道检查字符串输入是否为合法的题目。基本规则是按照...
2018-04-02 09:45:00
68
转载 Lintcode415 Valid Palindrome solution 题解
【题目描述】Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.NoticeHave you consider tha...
2018-03-30 09:23:00
96
转载 Lintcode414 Divide Two Integers solution 题解
【题目描述】Divide two integers without using multiplication, division and mod operator.If it is overflow, return2147483647将两个整数相除,要求不使用乘法、除法和 mod 运算...
2018-03-29 10:51:00
99
转载 Lintcode413 Reverse Integer solution 题解
【题目描述】Reverse digits of an integer. Returns 0 when the reversed integer overflows (signed 32-bit integer).将一个整数中的数字进行颠倒,当颠倒后的整数溢出时,返回 0 (标记为 32 位...
2018-03-28 09:29:00
67
转载 Lintcode412 Candy solution 题解
【题目描述】There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the fo...
2018-03-27 09:27:00
86
转载 Lintcode411 Gray Code solution 题解
【题目描述】The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the...
2018-03-26 14:00:00
98
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人