• Stars
    star
    300
  • Rank 138,870 (Top 3 %)
  • Language
    C++
  • License
    MIT License
  • Created about 5 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

acwing, leetcode, kickstart, 算法模板, PAT 等等

algorithm

Forked from liuchuo/PAT.

主要存放训练刷题时的代码,有些有 README,有些源代码里面有注释可以看。

关于算法复杂度

在竞赛中,一般算机一秒能运行5 x 10^8次汁算,如果题目給出的时间限制カ1s,那么你选择的算法执行的计算次数最多应该在10^8量级オ有可能解决这个题目。一般 O(n)的算法能解决的数据范围在n < 10^8。

  • O(n*logn)的算法能解决的数据范围在n <= 10^6。
  • O(n*sqrt(n) )的算法能解决的数据范围在n < 10^5。
  • O(n^2)的算法能解决的数据范围在n<5000。
  • O(n^3)的算法能解决的数据范围在n <300。
  • O(2^n)的算法能解决的数据范围在n < 25。
  • O(n!)的算法能解决的数据范围在n < 11。

以上范围仅供参考,实际中还要考虑每种算法的常数。

推荐一些优质的资源

Stargazers over time

Stargazers over time

More Repositories

1

new-grad-positions

本项目旨在收集 2023 届互联网公司校招和实习的最新官方招聘信息,帮助在校生消除信息不对称带来的劣势,欢迎贡献 👏🏻。
TypeScript
899
star
2

Mirror

Deploy Google and Wikipedia mirror with one command using now.sh.
JavaScript
95
star
3

frontend-learning-map

前端学习路线(TODOs)
HTML
92
star
4

docsify-katex

🔣 KaTeX support for docsify
JavaScript
84
star
5

HITMers

Management system for Harbin Institute of Technology Museum
JavaScript
77
star
6

zhr-action-demo

浙江大学健康打卡自动打卡脚本 GitHub Action 例子,只需一步 Fork 即可使用,每天定时帮你自动打卡。
56
star
7

tailwindcss-themeable

🎨 Adds multiple themes support for Tailwind CSS and Windi CSS.
TypeScript
55
star
8

Lenovo-G50-80-Clover

Clover configuration for Hackintosh on G50-80 (Broadwell version 80E5007CCD)
Rich Text Format
41
star
9

weiboAPI

m.weibo.cn 微博 API 收集。
JavaScript
22
star
10

zhr-action

浙江大学健康打卡自动打卡脚本,支持 Node.js 本地运行和 GitHub Action 定时运行。
TypeScript
20
star
11

vue3-compact-template

⚡️ A simple and compact vue 3 template with current cutting edge front end technologies.
Vue
16
star
12

vscode-qt-qml-vcpkg-template

VSCode Qt (QML) vcpkg template with CI integration
CMake
11
star
13

hit-gpa

哈工大本科生 GPA 计算器。使用统一身份一键登录,即可计算自己的 GPA 信息。
Vue
10
star
14

2019-MCM

mathematical modelling contest 2019 (2019 美赛相关资料)
TeX
10
star
15

arithmetic-coding

🔧 Arithmetic coding algorithm implemented in Node.js, both API and CLI support. 算术编码 npm 包,支持 API 调用和 CLI。
JavaScript
10
star
16

zju-grs-ics

将浙大研究生课表生成 ics 文件,以供导入到你喜欢的日历软件中
TypeScript
8
star
17

esbuild-plugin-license

esbuild plugin to add license banner to the final bundle and output third party licenses
TypeScript
8
star
18

Lenovo-Ideapad-500-14ISK-Clover

Clover configuration for Hackintosh on Lenovo Ideapad 500-14ISK
Shell
6
star
19

rspack-ssr-examples

Rspack Server-Side Rendering minimal examples, fully-extensible.
JavaScript
5
star
20

Lab5-fourier-transform

Python
5
star
21

HITMers-node-js-server

Server for HITMers
JavaScript
5
star
22

zju-ebike-info

HTML
4
star
23

marching-cubes

Marching Cubes (ambiguity resolved) implemented in C++
C
4
star
24

vscode-vcpkg-template

VSCode vcpkg template for C++ projects
CMake
4
star
25

coding-interviews-js-in-two-days

两天内冲刺刷完《剑指 offer》中的题目。
JavaScript
3
star
26

mcm-lyx

Our solution for 2019 MCM Problem A, LyX template for MCM (LyX 美赛模板)
TeX
3
star
27

awesome-server-side-rendering

A curated list of awesome things related to server side rendering.
JavaScript
3
star
28

classify-leaves

Jupyter Notebook
3
star
29

Lab3-markov-decision-process

HTML
3
star
30

CSAPP

My learning notes for homework and labs
C
3
star
31

quick-select

Select k-smallest item in an array A in nearly 2n time using LAZY-SELECT. Also implemented naive sorting & linear select algorithm.
Python
3
star
32

jpeg-compressor

JPEG compressor implementation in Node.js
TypeScript
2
star
33

dep-require-time

TypeScript
2
star
34

baidu_index_crawler

Baidu index crawler in python.
Python
2
star
35

cv-hw2

C++
2
star
36

world-meeting

A multi-user real-time audio and video communication application based on WebRTC.
Vue
2
star
37

compiler

Compiler implementation in node.js, just for teaching and learning purpose
JavaScript
2
star
38

volume-rendering

Volume rendering (ray casting) implemented in C++
HTML
2
star
39

Cluster-BSS

Blind Source Separation using K-means, see our paper at https://github.com/upupming/mcm-lyx/raw/e8ef140b0e71f6b1079013176d7cf636ef314f8d/build/1911426.pdf
HTML
2
star
40

minHash

HTML
1
star
41

random-MST

Random minimum spanning tree problem simulation
Python
1
star
42

picgo-plugin-vscode-migrator

🔧 Migrate images between vs-picgo and PicGo.
TypeScript
1
star
43

sitk-superbuild

C++
1
star
44

HITMers-firebase-server

HITMers backend server hosted at Firebase
JavaScript
1
star
45

algojs

TypeScript
1
star
46

Lab1-generation-and-estimation-of-random-distribution

Random Computing Lab1
Python
1
star
47

Lab2-hidden-markov-chain-model

Hidden Markov Model
Python
1
star
48

dragon

Play with the dragon in 2019 MCM Problem A
Python
1
star
49

computer-networking

Computer Networking learning notes
HTML
1
star
50

vscode-qt-vcpkg-template

vcpkg template for Qt Widget
CMake
1
star
51

katex-copytex

Copy KaTeX math as TeX commands.
HTML
1
star
52

cjs-vs-esm

JavaScript
1
star
53

docsify-pdf-embed-plugin

JavaScript
1
star
54

reboot-if-gpu-free

JavaScript
1
star
55

BloomFilter

Bloom filter implementation in python.
Python
1
star
56

enzyme-parent-bug

JavaScript
1
star
57

upupming

1
star
58

d2l-learning

Jupyter Notebook
1
star
59

esm-test

HTML
1
star
60

RESTful-API-with-Koa-and-Postgres

JavaScript
1
star
61

pubex

Publish experimental package to npm with just one command
JavaScript
1
star
62

esbuild-css-not-splitted

JavaScript
1
star
63

cuda_by_example

C
1
star
64

dynamic-import-test

JavaScript
1
star
65

upupming.github.io

upupming's Blog
JavaScript
1
star
66

DataStructure

C++
1
star
67

set-cookie-playground

TypeScript
1
star
68

cf-wrangler-starter

JavaScript
1
star
69

CUDA-Samples-v11.2

C++
1
star
70

vite-react-lazy-example

TypeScript
1
star