CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 38 / 646 道可提交题。 当前筛选:标签:Greedy,语言:C++

提交状态:未尝试未正确已正确
未尝试
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-dag-schedule-with-machine-cap订阅锁定
DAG Schedule on K Machines with Critical-Path Priority

DAG Schedule on K Machines with Critical-Path Priority

困难面试准备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-coin-change-canonical-set可练习
规范币集上的贪心找零

Greedy Coin Change on a Canonical Denomination Set

简单免费版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-greedy-min-platforms-railway可练习
铁路时刻表所需的最少站台数

Minimum Platforms for a Railway Schedule

简单免费版Python / C++ / Rust
未尝试
coding-jump-game-can-reach可练习
跳跃游戏 — 能否到达终点

Jump Game — Can You Reach the Last Index

简单免费版Python / C++ / Rust
未尝试
coding-max-diversification-portfolio订阅锁定
最大分散化组合 (Choueifaty-Coignard)

Maximum-Diversification Portfolio (Choueifaty-Coignard)

困难面试准备Python / C++ / Rust
未尝试
coding-max-non-overlap-trade-windows可练习
最多不重叠交易时间窗

Max Non-Overlapping Trade Windows

简单免费版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-mean-variance-frontier-long-only订阅锁定
Long-Only Mean-Variance Efficient Frontier

Long-Only Mean-Variance Efficient Frontier

困难面试准备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-replenishments-to-avoid-stockout可练习
最少补货次数避免缺货

Min Replenishments to Avoid Stockout

困难免费版Python / C++ / Rust
未尝试
coding-min-rooms-for-streaming-jobs可练习
并发流式执行机的最小数量

Minimum Concurrent Streaming Jobs for Execution Windows

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

Minimum Routers with FIX-Session Setup Delay

中等免费版Python / C++ / Rust
未尝试
coding-non-overlap-rebalance-windows可练习
最少需移除的再平衡时间窗

Min Rebalance Windows To Remove

简单免费版Python / C++ / Rust
未尝试
coding-non-overlapping-intervals-greedy可练习
使区间互不相交的最少移除数

Min Intervals To Remove For Non-Overlap

简单免费版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-sor-with-fillrate-priors订阅锁定
Smart-Order Routing With Bayesian Fill-Rate Priors and UCB Exploration

Smart-Order Routing With Bayesian Fill-Rate Priors and UCB Exploration

困难面试准备Python / C++ / Rust
未尝试
coding-target-vol-scale订阅锁定
目标波动率杠杆缩放

Target-Volatility Scaling with Leverage Cap

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

TWAP Equal-Slice Schedule with Front-Loaded Residue

中等面试准备Python / C++ / Rust
未尝试
coding-twap-with-no-go-windows订阅锁定
带禁止窗口的 TWAP 调度

TWAP Scheduling Through Forbidden No-Go Windows

困难面试准备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