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.6.tar.gz (30.8 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.6-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_contest_template-0.0.6.tar.gz
  • Upload date:
  • Size: 30.8 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.6.tar.gz
Algorithm Hash digest
SHA256 a1de472f89e626d23c30811b6cafc836fbc142eee6d222373b1cb681cbb87001
MD5 a10680aa22a554d01d0dd887c34b4184
BLAKE2b-256 fa9ca8362079e41e039e0c99b6e31bd688efb9ca3054760cbebcd809c250e700

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_contest_template-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c5dc80c2652b33b7ebec7c77eaac17cdb825a75b844aaaccfcc7ae938455cf5e
MD5 fe96c8f975c57eb2f2fb1bffb0ddebf0
BLAKE2b-256 b8b29834490aa2bae0ae5fd54cc196f7d41db909042393df71417d7c4c12fa45

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