- 博客(6)
- 收藏
- 关注
转载 zigzag Convert
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 fo...
2015-06-22 22:21:00 82
转载 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...
2015-06-22 22:11:00 73
转载 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 letters...
2015-06-22 22:06:00 91
转载 Add two numbers
publicListNodeaddTwoNumbers(ListNodel1,ListNodel2){ intcarry=0; ListNodenewHead=newListNode(0);//头结点 ListN...
2015-06-22 21:45:00 59
转载 Palindrome Number
publicclassSolution{ publicbooleanisPalindrome(intx){ //negativenumbersarenotpalindrome if(x<0) returnfalse; ...
2015-06-22 21:36:00 49
转载 leetcode Two sum
public class Solution { public int[] twoSum(int[] numbers, int target) { HashMap<Integer, Integer> map = new HashMap<Integer, Int...
2015-06-22 21:28:00 70
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人