蝉沐风~
蝉沐风~
全部文章
leetcode
C(1)
centos(1)
firefox(1)
golang(3)
html(1)
http协议(1)
javascript(1)
json(1)
linux(2)
NP(1)
内网(1)
存储(1)
排序(1)
数据结构(1)
未归档(42)
正则表达式(1)
算法++(14)
递归(1)
归档
标签
去牛客网
登录
/
注册
蝉沐风~的博客
全部文章
/ leetcode
(共5篇)
最大值减去最小值不超过num的子数组数量
【问题】 给定数组arr和整数 n u m ...
2018-11-27
0
552
5. Longest Palindromic Substring
package com.chanmufeng.leetcode; /** * faster than 61.63% * 最后求取子串的处理不是很地道 */ public class LongestPalindromicSubString_5 { private static char...
2018-11-24
0
601
218. The Skyline Problem
package com.chanmufeng.questions; import java.util.*; public class Skyline { public static class Node { public int pos; public in...
2018-11-24
0
660
75. Sort Colors
方法1:快速排序的partition思想 class Solution { public void sortColors(int[] nums) { int l = 0; int r = nums.length-1; int cur = l;...
2018-11-16
0
498
402. Remove K Digits
faster than 88.79% of Java online submissions for Remove K Digits. public class Solution { public String removeKdigits(String num, int k) { ...
2018-11-13
0
454