排序:
默认
按更新时间
按访问量

leetcode python - Palindrome Number

# Determine whether an integer is a palindrome. # Do this without extra space. class Solution(object): def isPalindrome(self, x): "...

2017-04-05 15:50:43

阅读数:6116

评论数:0

leetcode python - String to Integer (atoi)

# Implement atoi to convert a string to an integer. # # Hint: Carefully consider all possible input cases. # If you want a challenge, please do not s...

2017-04-05 15:37:20

阅读数:6546

评论数:0

leetcode python - Reverse Integer

# Reverse digits of an integer. # # Example1: x = 123, return 321 # Example2: x = -123, return -321 # # click to show spoilers. # # Note: # The input...

2017-04-05 15:13:12

阅读数:5847

评论数:0

leetcode python - ZigZag Conversion

# The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in ...

2017-04-05 14:58:16

阅读数:5699

评论数:0

leetcode python - Longest Palindromic Substring

# Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. # # Example: # # Input: "b...

2017-04-05 14:36:44

阅读数:5825

评论数:0

leetcode python - Median of Two Sorted Arrays

# There are two sorted arrays nums1 and nums2 of size m and n respectively. # # Find the median of the two sorted arrays. The overall run time comple...

2017-04-01 19:22:19

阅读数:6011

评论数:0

leetcode python - Longest Substring Without Repeating Characters

# Given a string, find the length of the longest substring without repeating characters. # # Examples: # # Given "abcabcbb", the answer is ...

2017-04-01 15:07:19

阅读数:6647

评论数:0

leetcode python - addTwoNumbers

# 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 c...

2017-04-01 11:35:24

阅读数:6449

评论数:0

leetcode python - 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 input would ...

2017-04-01 11:05:58

阅读数:6231

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭