特立独行MVP
特立独行MVP
全部文章
分类
c++(13)
LeetCode(8)
剑指offer(19)
技巧(10)
算法(26)
面试(5)
归档
标签
去牛客网
登录
/
注册
Forever 24
十步杀一人 千里不留行
TA的专栏
19篇文章
2261人订阅
收割BAT:C++校招学习路线总结
19篇文章
16093人学习
全部文章
(共102篇)
42. Trapping Rain Water
42. Trapping Rain Water 参考: LeetCode Monotone Stack Summary 单调栈小结 Given n non-negative integers representing an elevation map where the width ...
2018-10-12
4
409
DP : 132. Palindrome Partitioning II
132. Palindrome Partitioning II Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts ne...
2018-10-10
4
347
今日头条笔试 10.8 第一题
#include<iostream> #include<math.h> #include<algorithm> #include<string.h> #include<string> #include<stdio.h> #inc...
2018-10-10
4
433
2019/10/8今日头条笔试
2019/10/8今日头条笔试 第三题 public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int num = Integer.parseInt(scanner.nextLine()...
2018-10-09
4
385
2019/10/8 今日头条笔试第3题
2019/10/8 今日头条笔试第3题 #include <iostream> #include <vector> using namespace std; int helper(int n,int m,vector<vector<int>>...
2018-10-09
4
535
2019/10/8今日头条笔试
2019/10/8 今日头条笔试第五题 #include <iostream> #include <vector> #include <unordered_map> using namespace std; /* m个台阶,一次可爬a~b个台阶 部分台阶损...
2018-10-09
4
601
LeetCode 120. Triangle
动态规划 问题120. Triangle Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. ...
2018-10-08
4
324
背包问题
0-1背包 #include <iostream> #include <vector> using namespace std; int helper(vector<vector<int>>& dp, vector<int>&...
2018-10-07
4
340
c++ cin,cout 加速
加上以下两行 ios::sync_with_stdio(0); cin.tie(0);
2018-09-24
4
439
KMP字符串匹配算法
写在前面 KMP算法 典型例题 输入 第一行一个整数N,表示测试数据组数。 接下来的N*2行,每两行表示一个测试数据。在每一个测试数据中,第一行为模式串,由不超过10^4 个大写字母组成,第二行为原串,由不超过10^6 个大写字母组成。 其中N<=20 输出 对于每一个测试数据,按照它们...
2018-09-24
4
395
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页