加载中
第十题,isValidBracket

Question: 查看括号是否是成对出现。 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is vali...

2019/01/24 17:55
110
第八题,romanToInt

Question: 简单来说就是要求把罗马数字转为阿拉伯数字。 Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X ......

2019/01/18 18:34
203
第七题,isPalindrome

Question: 求是否是回文,顾名思义就是返过来也是相同的数。 Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Exa...

2019/01/17 22:13
616
第六题,Reverse Integer

Questions: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 120 Output: 21 No...

第五题,findMedianSortedArrays

Questions: 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 complexity should be O(log ...

第四题,lengthOfLongestSubstring

Question: Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer is "abc", with th...

2019/01/10 16:46
616
第二题,linked list

#coding=utf8 class Node(object): def __init__(self,x): self.data = x self.next = None def get_next(self): return self.next def set_next(self, x): ......

2019/01/08 20:32
62
开始刷题,第一题

学习编程和学习语言一样,都是要了解完所有语法后,不断练习才能掌握和熟练运用。今天起开始刷题,分享并记下每一题。 题目: Given an array of integers, return indices of the two numb...

2019/01/06 22:53
28

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部