Skip to content

Instantly share code, notes, and snippets.

View yanjinbin's full-sized avatar
💭
🚲🚲🚲🚲🚲🚲

Yem JinBen yanjinbin

💭
🚲🚲🚲🚲🚲🚲
  • where God love you
View GitHub Profile
https://www.1point3acres.com/bbs/thread-564384-1-1.html
二维矩阵旋转
https://www.1point3acres.com/bbs/thread-475376-1-1.html
单链表,绝对值从大到小排列,现在让变成按照正常的值从大到小排
https://www.geeksforgeeks.org/sort-linked-list-already-sorted-absolute-values/
https://www.1point3acres.com/bbs/thread-529016-1-1.html
```java
public String minimumWindow01(String s, String t) {
int l = 0, r = 0, N = s.length() , start = 0, minLen = Integer.MAX_VALUE;
Map<Character, Integer> needs = new HashMap();
for (char c : t.toCharArray()) {
needs.put(c, needs.getOrDefault(c, 0) + 1);
}
Map<Character, Integer> windows = new HashMap();
#include <algorithm>
#include <iostream>
// https://oi-wiki.org/search/heuristic/
// heuristic-search 启发式搜索
using namespace std;
const int N = 105;
int m, t, ans;
struct Node {
int time, value;
double f;
#include <algorithm>
#include <iostream>
// https://oi-wiki.org/search/heuristic/
// heuristic-search 启发式搜索
using namespace std;
const int N = 105;
int m, t, ans;
struct Node {
int time, value;
double f;
#include <algorithm>
#include <iostream>
// https://oi-wiki.org/search/heuristic/
// heuristic-search 启发式搜索
using namespace std;
const int N = 105;
int m, t, ans;
struct Node {
int time, value;
double f;
#include <algorithm>
#include <iostream>
// https://oi-wiki.org/search/heuristic/
// heuristic-search 启发式搜索
using namespace std;
const int N = 105;
int m, t, ans;
struct Node {
int time, value;
double f;
#include <queue>
#include <iostream>
#include <algorithm>
using namespace std;
const int N = 5005, M = 2e5 + 5;
int n, m;
double E;
struct data { //A* 结构体