
LeetCode
CAU_Ayao
研究方向为计算机视觉与图像处理。
邮箱:ligywork@126.com
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
用Python3实现LeetCode算法题系列——No.07 Reverse Integer [Easy]
目录 1. 题目 2. 提交的代码 3. 运行效果 4. 完整代码 1. 题目 Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321...原创 2018-08-26 20:39:51 · 315 阅读 · 0 评论 -
用Python3实现LeetCode算法题系列——No.009 Palindrome Number [Easy]
目录 1. 题目 2. 提交的代码 3. 运行效果 4. 完整代码 1. 题目 Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 ...原创 2018-08-26 21:38:48 · 476 阅读 · 0 评论 -
用Python3实现LeetCode算法题系列——No.01 Two Sum [Easy]
用Python3刷LeetCode算法题系列——No.01 Two Sum 题目: >>英文版本 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each ...原创 2018-07-24 20:11:23 · 634 阅读 · 0 评论 -
用Python3实现LeetCode算法题系列——No.013 Roman to Integer [Easy]
目录 1. 题目 2. 提交的代码 3. 运行效果 4. 完整代码 1. 题目 Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 ...原创 2018-08-31 22:08:24 · 380 阅读 · 0 评论 -
用Python3实现LeetCode算法题系列——No.014 Longest Common Prefix [Easy]
目录 1. 题目 2. 提交的代码 3. 运行效果 4. 完整代码 1. 题目 Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string “”. ...原创 2018-09-04 19:59:30 · 327 阅读 · 0 评论 -
用Python3实现LeetCode算法题系列——No.020 Valid Parentheses [Easy]
用Python3实现LeetCode算法题系列——第20题 有效的括号 [Easy] 目录 1. 题目 2. 提交的代码 3. 运行效果 4. 完整代码 1. 题目 给定一个只包括 ‘(‘,’)’,’{‘,’}’,’[‘,’]’ 的字符串,判断字符串是否有效。 有效字符串需满足:     1. 左括号必须用相同类型的右括...原创 2018-09-06 16:33:43 · 430 阅读 · 0 评论