自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 LeetCode 11 Container With Most Water

Container With Most Water Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of

2015-07-28 21:06:17 334

原创 LeetCode 10 Regular Expression Matching FaceBook面试题

Regular Expression Matching Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding element. The

2015-07-26 17:25:49 531

原创 LeetCode 9 Palindrome Number

Palindrome Number Determine whether an integer is a palindrome. Do this without extra space. 有了回文字符串的基础这道题其实不难,再不借助字符串的基础上,转化为整型数组处理。 public boolean isPalindrome(int

2015-07-23 21:29:46 295

原创 LeetCode 8 String to Integer (atoi)

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 see below and ask

2015-07-22 15:48:05 263

原创 LeetCode 7 Reverse Integer 这道题被血虐

Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers. Have you thought about this? Here are some good questions to ask before c

2015-07-21 21:10:50 335

原创 LeetCode 6 ZigZag Conversion

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 a fixed font for better legibility) P

2015-07-20 23:24:38 235

原创 LeetCode 5 Longest Palindromic Substring

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, and there exists one unique lon

2015-07-17 20:20:55 334

原创 LeetCode 4 Median of Two Sorted Arrays

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 complexity should be O(log (m+

2015-07-15 19:26:56 506 1

原创 LeetCode 3 Longest Substring Without Repeating Characters

Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating

2015-07-14 15:03:11 351

原创 LeetCode 2 Add Two Numbers

Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two

2015-07-12 11:38:11 294

原创 LeetCode 1 Two Sum 排序后快速求解

Two Sum Given 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 th

2015-07-11 11:48:14 630

原创 Qt下实现的炉石计算器

在炉石对局中,常常需要计算伤害,在有限的时间内,很难计算总伤害量,因此需要借组工具。 整个实现非常容易,只是一个加减法计算器。

2015-07-03 14:08:52 873

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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