
leetcode
文章平均质量分 76
ArcherCheng
这个作者很懒,什么都没留下…
展开
-
leetcode 004 Median of Two Sorted Arrays(java)
Median of Two Sorted ArraysMy SubmissionsQuestionTotal Accepted: 75699 Total Submissions: 428881 Difficulty: Hard There are two sorted arrays nums1 and nums2 of size m and n resp原创 2015-12-13 22:03:50 · 250 阅读 · 0 评论 -
leetcode 002 Add Two Numbers(java)
leetcode 002 Add Two NumbersAdd Two NumbersMy SubmissionsQuestionTotal Accepted: 105768 Total Submissions: 494750 Difficulty: Medium You are given two linked lists represen原创 2015-12-09 00:27:50 · 339 阅读 · 0 评论 -
leetcode 001 Tow Sum(java)
Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to原创 2015-12-08 21:42:34 · 363 阅读 · 0 评论 -
leetcode 003 Longest Substring Without Repeating Characters(java)
Longest Substring Without Repeating CharactersMy SubmissionsQuestionTotal Accepted: 111400 Total Submissions: 532861 Difficulty: Medium Given a string, find the length of the lon原创 2015-12-09 22:55:52 · 291 阅读 · 0 评论 -
leetcode 005 Longest Palindromic Substring(java)
leetcode 005 Longest Palindromic Substring(java)5. Longest Palindromic SubstringMy SubmissionsQuestionTotal Accepted: 87802 Total Submissions: 399054 Difficulty: Medium Giv原创 2016-01-15 17:59:53 · 278 阅读 · 0 评论 -
leetcode 007 Reverse Integer
package com.archer;/** * * @author Archer * * 题意:高位换低位 低位换高位 * 题解: java int 32位 -2147483648----2147483648 * 考虑溢出的问题,可能原数不会溢出,但是转职后会溢出 如测试数据中的1534236469 */public class Solu原创 2016-04-19 19:57:37 · 269 阅读 · 0 评论 -
leetcode 009 Palindrome Number
9. Palindrome Number Total Accepted: 119423 Total Submissions: 378311Difficulty: Easy Determine whether an integer is a palindrome. Do this without extra space.click to show sp原创 2016-04-21 20:21:58 · 286 阅读 · 0 评论