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.5.tar.gz (30.7 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.5-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_contest_template-0.0.5.tar.gz
  • Upload date:
  • Size: 30.7 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.5.tar.gz
Algorithm Hash digest
SHA256 42d6ae2cb3417d721f59fd39394026f10b3297e4f5df4de72b073fd8fce8e41e
MD5 b0a8ccfd796681eee44ede117b5546a7
BLAKE2b-256 346bed05524c7d16287affad3507f75d4e1f32e5f19e501947c42988afb34eda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_contest_template-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d9ae905c3647c19e1251e9cdc0b245989929de1822026111fdf2292dec318312
MD5 4381e4a3fe4dfc96d07079157365f1a4
BLAKE2b-256 55d0950ef8dd080b969389c4daf41cf2baa8b503eb6bf0d7bf12be6042318895

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