Skip to main content

python template for contest

Project description

用于leetcode算法调试, 包含一些常用数据结构的操作,比如将列表转成树、链表等

算法的模板放在src文件夹下 测试程序放在tests文件夹下

目录

算法基础

差分数组 倍增 二分查找

数据结构

树状数组 并查集 线段树 单调栈 单调队列

动态规划

数位dp

图论

广度优先遍历 最近公共祖先LCA 最小生成树 最短路径 二叉树 二叉搜索树 拓扑排序

数学

常用公式 快速幂 费马小定理 找质因数 最大公因数 判断质数 筛选质数 组合数求模

杂项

离散化 双指针

搜索

回溯

持续更新中...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_contest_template-0.0.7.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_contest_template-0.0.7-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file python_contest_template-0.0.7.tar.gz.

File metadata

  • Download URL: python_contest_template-0.0.7.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for python_contest_template-0.0.7.tar.gz
Algorithm Hash digest
SHA256 fdb5766a84e1265dad7e19989e8f4017fb8f8e50216ca2c66e346cd9633ef551
MD5 f084ddb242593ac6c42bda170219e87c
BLAKE2b-256 5cd67134c479950bb8fb0d0bfb56017eabbb6ac913ac8e8a5a1c6a5554d5e7f2

See more details on using hashes here.

File details

Details for the file python_contest_template-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for python_contest_template-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bcc18ebc9d75823b46f01e486955dcff2aa6c81c559298383817572f0171bee3
MD5 d3fac9649ec2ddddf27a42be646a0a83
BLAKE2b-256 38837b3a94bd6e77f655bd372197c92e2ecaf2e00dae386602346db3940944f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page