CODING CHALLENGES

代码题库

用接近 LeetCode 的题表进入训练:先筛选题目,再进入双栏题面和编辑器。每道题只展示它实际声明支持的语言。

继续刷题

题目列表

显示 24 / 646 道可提交题。 当前筛选:标签:Greedy,难度:中等,语言:Python

提交状态:未尝试未正确已正确
未尝试
coding-arrival-price-vs-twap-decision订阅锁定
Arrival Price 与 TWAP 切片在 alpha 衰减下的决策

Arrival Price vs TWAP Decision under Alpha Decay

中等面试准备Python / C++ / Rust
未尝试
coding-dag-multi-worker-topo-schedule订阅锁定
DAG 多工作线程拓扑调度

DAG Multi-Worker Topological Schedule

中等面试准备Python / C++ / Rust
未尝试
coding-fan-out-fan-in-coordination-replay订阅锁定
Fan-Out / Fan-In Coordination — Event Replay

Fan-Out / Fan-In Coordination — Event Replay

中等面试准备Python / C++ / Rust
未尝试
coding-greedy-fee-tier-coverage可练习
用最少手续费档位覆盖目标交易量区间

Minimum Fee-Tier Selection to Cover a Target Volume Range

中等免费版Python / C++ / Rust
未尝试
coding-greedy-min-cost-fill可练习
走簿打穿:贪心最小成本撮合

Walking the Book: Greedy Minimum-Cost Fill

中等免费版Python / C++ / Rust
未尝试
coding-max-nonoverlap-windows-with-switch-gap可练习
单会话子单调度:FIX 重配间隔下的最大不重叠窗口

Single-Session Child-Order Scheduling with FIX Reconfigure Gap

中等免费版Python / C++ / Rust
未尝试
coding-max-throughput-child-orders-with-windows可练习
单会话最大子单吞吐:每单独立时长与 FIX 重配间隔

Maximum Child-Order Throughput With Per-Order Durations And A FIX-Session Gap

中等免费版Python / C++ / Rust
未尝试
coding-maximum-concurrent-trades可练习
最大同时在仓交易数

Maximum Concurrent Trades

中等免费版Python / C++ / Rust
未尝试
coding-min-cancels-quote-stability可练习
最少撤单次数维持报价稳定

Min Cancels for Quote Stability

中等免费版Python / C++ / Rust
未尝试
coding-min-cancels-throttle-window可练习
节流窗口合规回放:最少需撤单次数

Throttle-Window Compliance Replay: Minimum Order Cancels

中等免费版Python / C++ / Rust
未尝试
coding-min-cuts-stable-spread-runs可练习
波动稳定段切分 —— 在跨度上限下覆盖收益序列的最少段数

Regime-Stability Segmentation — Fewest Bounded-Spread Runs Over A Return Stream

中等免费版Python / C++ / Rust
未尝试
coding-min-flatten-resets-keep-position-in-band可练习
仓位区间治理:保持净仓在 [-L, +L] 内所需的最少日终归零次数

Position-Band Governance: Minimum Flatten-Resets to Stay Inside [-L, +L]

中等免费版Python / C++ / Rust
未尝试
coding-min-replenish-keep-inventory-positive可练习
对冲存量补货:保持非负所需的最少补货次数

Hedge-Inventory Replenishment: Minimum Top-Ups to Stay Non-Negative

中等免费版Python / C++ / Rust
未尝试
coding-min-routers-with-setup-delay可练习
含 FIX 会话重配延迟的最小路由器数

Minimum Routers with FIX-Session Setup Delay

中等免费版Python / C++ / Rust
未尝试
coding-pov-rate-schedule订阅锁定
带上下限的反应式 POV 执行调度

Reactive POV Schedule with Min/Max Catch-Up Bounds

中等面试准备Python / C++ / Rust
未尝试
coding-priority-task-deps-with-worker-pool订阅锁定
带显式优先级与依赖的 Worker 池任务调度

Priority-Driven Task Scheduling with Deps on a Worker Pool

中等面试准备Python / C++ / Rust
未尝试
coding-sor-displayed-size-greedy订阅锁定
Multi-Level SOR with Stale-Quote Re-Routing — Event Replay

Multi-Level SOR with Stale-Quote Re-Routing — Event Replay

中等面试准备Python / C++ / Rust
未尝试
coding-sor-min-venue-count-constraint订阅锁定
Min-Venue-Count Smart Order Routing with Fee-Tier Crossing Penalty

Min-Venue-Count Smart Order Routing with Fee-Tier Crossing Penalty

中等面试准备Python / C++ / Rust
未尝试
coding-sor-replenishing-book-stream订阅锁定
SOR Across Replenishing Iceberg Venues — Event Replay

SOR Across Replenishing Iceberg Venues — Event Replay

中等面试准备Python / C++ / Rust
未尝试
coding-sor-static-fee-aware订阅锁定
基于费用感知的静态多场所智能路由

Fee-Aware Static Smart-Order Routing Across Venues

中等面试准备Python / C++ / Rust
未尝试
coding-twap-equal-slice-schedule订阅锁定
TWAP 等量切片调度与前置余量分配

TWAP Equal-Slice Schedule with Front-Loaded Residue

中等面试准备Python / C++ / Rust
未尝试
coding-vol-weight-portfolio订阅锁定
反波动率组合 + 权重上限

Inverse-Vol Portfolio with Position Cap

中等面试准备Python / C++ / Rust
未尝试
coding-vwap-tracking-error-pnl订阅锁定
VWAP Tracking-Error P&L

VWAP Tracking-Error P&L

中等面试准备Python / C++ / Rust
未尝试
coding-vwap-volume-curve-schedule订阅锁定
沿成交量曲线的 VWAP 调度与参与率上限

VWAP Schedule Along a Volume Curve with Participation Cap

中等面试准备Python / C++ / Rust