自定义博客皮肤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)
  • 收藏
  • 关注

原创 Reverse Nodes in k-Group

From LeetCode No.25;Tier:HardContent:Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.k is a positive integer and is less than or equal to the lengt...

2019-06-22 20:29:38 107

原创 Generate Parentheses

From LeetCode No.22;Tier:MediumContent:Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.Example:input:n=3[ “((()))”, “(()())”, “(())(...

2019-06-21 21:36:24 119

原创 Container With Most Water

From LeetCode No.11;Tier:MediumContent: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 l...

2019-06-13 22:15:37 69

原创 First Unique Character in a String

From LeetCode No.387;Tier:EasyContent:Given a string, find the first non-repeating character in it and return it’s index. If it doesn’t exist, return -1.Examples:s = “leetcode”return 0.s = “...

2019-06-10 17:57:22 88

原创 String to Integer (atoi)

From LeetCode No.8;Tier:MediumContent:Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace cha...

2019-06-10 17:50:49 83

原创 Median of Two Sorted Arrays

From LeetCode No.4;Tier:HardContent:here 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(lo...

2019-06-10 17:35:03 68

原创 Longest Substring Without Repeating Characters

From LeetCode No.3;Tier:MediumContent:Given a string, find the length of the longest substring without repeating characters.Example 1:Input: “abcabcbb” Output: 3 Explanation: The answer is “abc...

2019-06-10 17:25:19 88

空空如也

空空如也

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

TA关注的人

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