自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 Leetcode Median of Two Sorted Arrays (java)

解法一: import java.util.Arrays; class Solution { public double findMedianSortedArrays(int[] nums1, int[] nums2) { //存储合并后的数组 int[] nums3 = new int[nums1.length + nums2.le...

2018-03-05 15:25:00 53

转载 Leetcode Longest Substring Without Repeating Characters (java)

解法一: class Solution { public int lengthOfLongestSubstring(String s) { int max = 0; if (s.length() <= 1) { max = s.length(); return max; ...

2018-03-03 21:12:00 93

转载 Leetcode Add Two Numbers (java)

解法: class Solution { public ListNode addTwoNumbers(ListNode l1, ListNode l2) { ListNode l3 = null; boolean add = false; while (l1 != null || l2 != null) { ...

2018-03-01 21:53:00 61

转载 Leetcode Two Sum (java)

解法一: class Solution { public int[] twoSum(int[] nums, int target) { for (int i = 0; i < nums.length; i++) { for (int j = i + 1; j < nums.length; j++) { ...

2018-03-01 16:15:00 65

空空如也

空空如也

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

TA关注的人

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