CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 70 / 646 道可提交题。 当前筛选:标签:Execution

提交状态:未尝试未正确已正确
未尝试
coding-almgren-chriss-static-tradeoff订阅锁定
Almgren-Chriss 静态最优执行轨迹

Almgren-Chriss Static Optimal Execution Trajectory

困难面试准备Python / C++ / Rust
未尝试
coding-arrival-price-vs-twap-decision订阅锁定
Arrival Price 与 TWAP 切片在 alpha 衰减下的决策

Arrival Price vs TWAP Decision under Alpha Decay

中等面试准备Python / C++ / Rust
未尝试
coding-arrival-vs-vwap-shortfall订阅锁定
Dual-Benchmark IS — Arrival Price vs Interval VWAP

Dual-Benchmark IS — Arrival Price vs Interval VWAP

中等面试准备Python / C++ / Rust
未尝试
coding-backtest-with-borrow-cost订阅锁定
含隔夜融券成本的日频回测

Daily Backtest with Overnight Borrow Cost

中等面试准备Python / C++ / Rust
未尝试
coding-bounded-trades-best-pnl-with-fee可练习
至多 K 段不重叠多头 round-trip 下的最佳已实现 PnL 上界(含每段冲击成本)

Best Realized PnL Bound Under K Disjoint Round-Trips with Per-Roundtrip Impact Cost

中等免费版Python / C++ / Rust
未尝试
coding-compact-tick-buffer订阅锁定
把环形 tick 缓冲压缩成等长时间切片

Compact a Ring-Buffer of Ticks into Evenly-Bucketed Time Slices

中等面试准备Python / C++ / Rust
未尝试
coding-cross-buy-sell-tape-events可练习
买价跨越邻近卖价的跨磁带路由质量告警计数

Cross-Tape Buy-Above-Sell Routing-Quality Alert Count

中等免费版Python / C++ / Rust
未尝试
coding-distinct-symbols-with-open-orders可练习
持仓监控面板:当前在场的不同标的数量

Open-Order Dashboard Tile: Distinct Symbols Currently In Play

中等免费版Python / C++ / Rust
未尝试
coding-earliest-cumvol-target-from-each-day可练习
从每个起始日起累计库存达到目标量的最早结束日数

Earliest End-Day Reaching A Cumulative Inventory Target From Each Starting Day

中等免费版Python / C++ / Rust
未尝试
coding-execution-quality-score-blend订阅锁定
Composite Broker Execution-Quality Score with Direction-Aware Z-Score Blend

Composite Broker Execution-Quality Score with Direction-Aware Z-Score Blend

中等面试准备Python / C++ / Rust
未尝试
coding-execution-with-hard-volume-cap订阅锁定
Optimal Execution Trajectory Under Hard Per-Bucket Volume Caps

Optimal Execution Trajectory Under Hard Per-Bucket Volume Caps

困难面试准备Python / C++ / Rust
未尝试
coding-factor-dependency-topo-order可练习
因子依赖拓扑序:夜间重建的确定性 min-heap Kahn 调度

Factor Dependency Topo Order: Deterministic Min-Heap Kahn for Nightly Rebuild

中等免费版Python / C++ / Rust
未尝试
coding-fillrate-by-venue-with-cis订阅锁定
按场所统计的成交率与 Wilson 置信区间

Per-Venue Fill Rate with Wilson Confidence Intervals

中等面试准备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-iceberg-replenish-fills订阅锁定
Iceberg Order Book — Replenishment & Fills

Iceberg Order Book — Replenishment & Fills

中等面试准备Python / C++ / Rust
未尝试
coding-impact-attribution-by-venue订阅锁定
Post-Trade Impact Attribution Across Venues with a Cross-Venue Interaction

Post-Trade Impact Attribution Across Venues with a Cross-Venue Interaction

中等面试准备Python / C++ / Rust
未尝试
coding-implementation-shortfall-attribution订阅锁定
Implementation Shortfall — Three-Component Attribution

Implementation Shortfall — Three-Component Attribution

中等面试准备Python / C++ / Rust
未尝试
coding-jump-game-can-reach可练习
跳跃游戏 — 能否到达终点

Jump Game — Can You Reach the Last Index

简单免费版Python / C++ / Rust
未尝试
coding-limit-order-fill-simulation订阅锁定
基于高低价 bar 的限价单成交模拟

Limit-Order Fill Simulation against High-Low Bars

中等面试准备Python / C++ / Rust
未尝试
coding-linear-impact-cost-estimate订阅锁定
Linear Market-Impact Cost of a Child-Order Schedule

Linear Market-Impact Cost of a Child-Order Schedule

中等面试准备Python / C++ / Rust
未尝试
coding-longest-low-volume-window可练习
给定冲击预算下成交量序列的最长合规连续窗口

Longest Contiguous Window of Volumes Within an Impact Budget

中等免费版Python / C++ / Rust
未尝试
coding-max-carry-with-bounded-flip-count可练习
限定反转次数下的累计 carry 最大化

Maximum Cumulative Carry Under a Bounded Sign-Flip Budget

困难免费版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-reward-trades-min-gap可练习
在合规冷却期约束下的最大累计收益(带时间戳的候选交易)

Maximum Total Reward From Timestamped Trade Candidates Under A Compliance Hold-Period 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-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-fillrate-meet-deadline可练习
给定每分钟 supply cap 下、按时填满父单所需的最小恒定 maker 填充率

Minimum Constant Maker Fill-Rate to Meet a Parent-Order Deadline Under Per-Minute Supply Caps

中等免费版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-hold-best-single-roundtrip可练习
最低持有期合规约束下单段多头 round-trip 的最佳已实现 PnL

Best Single Round-Trip Realized PnL Under a Minimum-Holding-Period Compliance Rule

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

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

中等免费版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-min-window-size-meet-volume-target可练习
满足每个窗口都达到目标成交量的最小切片长度

Smallest Slice Length Whose Every Window Meets a Volume Target

中等免费版Python / C++ / Rust
未尝试
coding-multi-leg-shortfall-attribution订阅锁定
Multi-Leg Implementation Shortfall — Basket Covariance Attribution

Multi-Leg Implementation Shortfall — Basket Covariance Attribution

困难面试准备Python / C++ / Rust
未尝试
coding-multi-period-dp-with-impact-and-risk订阅锁定
Multi-Period DP for Optimal Execution Under Impact and Risk

Multi-Period DP for Optimal Execution Under Impact and Risk

困难面试准备Python / C++ / Rust
未尝试
coding-multi-period-impact-decay订阅锁定
Multi-Period Impact P&L with Exponential Decay Between Periods

Multi-Period Impact P&L with Exponential Decay Between Periods

困难面试准备Python / C++ / Rust
未尝试
coding-net-position-from-trade-events可练习
由原始成交流水计算日终净头寸

End-of-Day Net Positions from a Raw Trade Tape

中等免费版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-orphan-cancel-count可练习
路由可靠性检查:统计孤儿撤单数量

Router Reliability Check: Count Orphan Cancellations

中等免费版Python / C++ / Rust
未尝试
coding-percentile-pnl-linear-interp可练习
成交 PnL 的线性插值百分位

Linear-Interpolation Percentile of Trade PnL

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

Reactive POV Schedule with Min/Max Catch-Up Bounds

中等面试准备Python / C++ / Rust
未尝试
coding-pre-trade-impact-budget-check订阅锁定
Pre-Trade Multi-Leg Impact Budget Check (Square-Root Model)

Pre-Trade Multi-Leg Impact Budget Check (Square-Root Model)

中等面试准备Python / C++ / Rust
未尝试
coding-price-time-priority-queue-replay订阅锁定
Price-Time Priority Queue — Order Book Replay

Price-Time Priority Queue — Order Book Replay

中等面试准备Python / C++ / Rust
未尝试
coding-pro-rata-allocation-fills订阅锁定
Pro-Rata Allocation — Single-Level Fill Distribution

Pro-Rata Allocation — Single-Level Fill Distribution

中等面试准备Python / C++ / Rust
未尝试
coding-queue-position-poisson-closed-form订阅锁定
队列位置成交概率:Poisson 到达下的闭式解

Queue Position Fill Probability — Closed-Form Under Poisson Arrivals

中等面试准备Python / C++ / Rust
未尝试
coding-shortfall-decomp-fee-vs-impact订阅锁定
Implementation Shortfall — Fee vs Market-Impact Decomposition

Implementation Shortfall — Fee vs Market-Impact Decomposition

中等面试准备Python / C++ / Rust
未尝试
coding-size-weighted-median-fillprice可练习
成交量加权中位数成交价

Size-Weighted Median Fill Price

中等免费版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-square-root-impact-fit订阅锁定
加权最小二乘拟合平方根市场冲击系数

Fit the Square-Root Market-Impact Coefficient by Weighted Least-Squares

困难面试准备Python / C++ / Rust
未尝试
coding-sticky-position-best-pnl-with-flip-tax可练习
黏性二值仓位策略 —— 含每次切换税与初始状态锚定的最佳 PnL

Sticky Binary-State Strategy — Best PnL With Per-Flip Tax And Initial-State Anchor

中等免费版Python / C++ / Rust
未尝试
coding-stream-running-vwap-merged-tapes可练习
跨 K 路场所成交磁带的 running VWAP 流式计算

Running VWAP Across Merged K-Venue Trade Tapes

中等免费版Python / C++ / Rust
未尝试
coding-topk-slippage-stable-tiebreak可练习
TCA 最差 K 笔成交:滑点 Top-K 与到达序号稳定打破并列

TCA Worst-K Fills: Top-K Slippage with Stable Arrival-Seq Tiebreak

中等免费版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-vectorized-pnl-with-borrow-fee-rate-curve订阅锁定
含时变融券费率曲线的向量化 PnL

Vectorized PnL with Time-Varying Borrow Fee Curve

中等面试准备Python / C++ / Rust
未尝试
coding-vectorized-pnl-with-costs订阅锁定
含交易成本的向量化逐期 PnL

Vectorized Per-Period PnL with Transaction Costs

中等面试准备Python / C++ / Rust
未尝试
coding-vwap-deviation-by-broker订阅锁定
VWAP Deviation by Broker

VWAP Deviation by Broker

中等面试准备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
未尝试
coding-window-argmin-offset可练习
滑窗最低价的窗内偏移:每段定长窗口内最低价相对左缘的位置

Sliding-Window Argmin Offset: Per-Window Position of the Minimum Price Relative to the Window Left Edge

中等免费版Python / C++ / Rust