自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Java

1、二维数组行列长度: row = array.length; column = array[0].length;

2019-07-24 22:50:59 65

原创 LeetCode-005-最长回文子串

题目: 解答1: class Solution { public String longestPalindrome(String s) { int length = s.length(); if(length==0) return ""; char alpha[] = new char[length]; alpha = s.toChar...

2019-06-17 18:00:24 87

原创 LeetCode-004-寻找两个有序数组的中位数

题目: 解答: class Solution { public double findMedianSortedArrays(int[] nums1, int[] nums2) { int len1=nums1.length,len2=nums2.length; int[] newNums = new int[(len1+len2)/2+...

2019-06-17 17:56:52 84

原创 LeetCode-003-无重复字符的最长子串

题目: 解答: class Solution { public int lengthOfLongestSubstring(String s) { int count =0,len=s.length(); if(len<=1) return len; char[] alphabet = new char[len]; for(int...

2019-06-16 21:00:39 81

原创 LeetCode-002-两数相加

题目: 解答: /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ class Solution { public ListNod...

2019-06-15 22:01:54 71

原创 LeetCode-001-两数之和

题目: 解答: class Solution { public int[] twoSum(int[] nums, int target) { if(nums==null || nums.length==0) { throw new RuntimeException("nums is blank"); ...

2019-06-15 20:50:17 144

原创 test

好好学习 天天向上

2019-04-26 09:59:30 72

空空如也

空空如也

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

TA关注的人

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