CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 32 / 646 道可提交题。 当前筛选:标签:Quant Developer,权限:订阅

提交状态:未尝试未正确已正确
未尝试
coding-backpressure-credit-flow订阅锁定
基于信用的背压:把生产者/消费者事件流回放成状态 trace

Credit-Based Backpressure — Replay Producer/Consumer Events into a State Trace

困难面试准备Python / C++ / Rust
未尝试
coding-compact-tick-buffer订阅锁定
把环形 tick 缓冲压缩成等长时间切片

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

中等面试准备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-dedup-tick-stream订阅锁定
按 (ts, exchange-seq) 去重 tick 流:以最晚到达的 ingest_ts 为准

Deduplicate a Replayed Tick Stream by (ts, exchange-seq), Latest-Ingest Wins

中等面试准备Python / C++ / Rust
未尝试
coding-divide-conquer-sum-tree订阅锁定
分治求和树(并行归约模拟)

Divide-and-Conquer Sum Tree (Parallel Reduction Simulation)

中等面试准备Python / C++ / Rust
未尝试
coding-downsample-to-bars订阅锁定
把逐笔流降采样为 OHLCV K 线(右闭约定)

Downsample a Tick Stream into OHLCV Bars (Right-Closed)

中等面试准备Python / C++ / Rust
未尝试
coding-edit-distance-with-cost-matrix订阅锁定
带成本矩阵的加权编辑距离

Weighted Edit Distance with Per-Character Cost Matrices

困难面试准备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-fork-join-segment-stats订阅锁定
Fork-Join 分段统计(Welford 两段合并)

Fork-Join Segment Stats (Welford Pairwise Merge)

困难面试准备Python / C++ / Rust
未尝试
coding-forward-fill-missing-minutes订阅锁定
把交易日内缺失的分钟用前一笔向前填充

Forward-Fill Missing Minutes Within a Trading Session

中等面试准备Python / C++ / Rust
未尝试
coding-gk-summary-streaming-quantile订阅锁定
Greenwald-Khanna Streaming Quantile Summary

Greenwald-Khanna Streaming Quantile Summary

中等面试准备Python / C++ / Rust
未尝试
coding-hdr-histogram-recorded-values订阅锁定
HDR Histogram Recorded-Value Bucket Index and Quantile Estimate

HDR Histogram Recorded-Value Bucket Index and Quantile Estimate

困难面试准备Python / C++ / Rust
未尝试
coding-leaky-bucket-rate-limit订阅锁定
Leaky-Bucket Rate Limiter as Admission Control

Leaky-Bucket Rate Limiter as Admission Control

中等面试准备Python / C++ / Rust
未尝试
coding-mapreduce-groupby-count订阅锁定
MapReduce 分组计数(两阶段聚合)

MapReduce Group-By Count (Two-Phase Aggregation)

中等面试准备Python / C++ / Rust
未尝试
coding-merge-bar-shards-by-date订阅锁定
合并按日分片的 K 线数据为有序时间序列

Merge Per-Day Bar Shards into a Sorted Timeseries

中等面试准备Python / C++ / Rust
未尝试
coding-parallel-pairwise-mean-merge订阅锁定
并行两两均值合并(Kahan 误差补偿)

Parallel Pairwise Mean Merge with Kahan Compensation

困难面试准备Python / C++ / Rust
未尝试
coding-percentile-from-bucketed-counts订阅锁定
Quantile Estimate from Pre-Bucketed Histogram Counts

Quantile Estimate from Pre-Bucketed Histogram Counts

中等面试准备Python / C++ / Rust
未尝试
coding-pipeline-cache-aware-replay订阅锁定
Cache-Aware Pipeline Replay — Minimum Re-run Set with Input-Hash Chaining

Cache-Aware Pipeline Replay — Minimum Re-run Set with Input-Hash Chaining

困难面试准备Python / C++ / Rust
未尝试
coding-pipeline-failed-rerun-cascade订阅锁定
Research Pipeline DAG — Cascade-Invalidate Downstream of a Failed Task

Research Pipeline DAG — Cascade-Invalidate Downstream of a Failed Task

中等面试准备Python / C++ / Rust
未尝试
coding-pipeline-next-runnable-set订阅锁定
Research Pipeline DAG — Compute the Next-Runnable Set

Research Pipeline DAG — Compute the Next-Runnable Set

中等面试准备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-session-window-by-gap订阅锁定
会话窗口聚合:以间隔为界

Session-Window Aggregation — Gap-Driven Boundaries

中等面试准备Python / C++ / Rust
未尝试
coding-sliding-window-mean-with-eviction订阅锁定
滑动窗口均值:定长窗口与 O(1) 淘汰

Sliding-Window Mean — Fixed-Count Window with O(1) Eviction

中等面试准备Python / C++ / Rust
未尝试
coding-sliding-window-rate-limit订阅锁定
Sliding-Log Rate Limiter (Deque of Admitted Timestamps)

Sliding-Log Rate Limiter (Deque of Admitted Timestamps)

中等面试准备Python / C++ / Rust
未尝试
coding-tdigest-percentile-stream订阅锁定
T-Digest 流式分位数估计器(k_1 尺度函数)

T-Digest Streaming Percentile Estimator (k_1 Scale Function)

困难面试准备Python / C++ / Rust
未尝试
coding-tick-buffer-binary-search-by-ts订阅锁定
Tick 缓冲:按时间戳的二分查找与区间扫描

Tick Buffer — Binary-Search Lookup and Range Scan by Timestamp

中等面试准备Python / C++ / Rust
未尝试
coding-token-bucket-with-pending-queue订阅锁定
带有限等待队列的令牌桶限流器

Token-Bucket Rate Limiter with Bounded Pending Queue

中等面试准备Python / C++ / Rust
未尝试
coding-tree-reduction-min-max订阅锁定
Tree Reduction with (min, max) Associative Combiner

Tree Reduction with (min, max) Associative Combiner

中等面试准备Python / C++ / Rust
未尝试
coding-tumbling-window-aggregate订阅锁定
滚动窗口聚合:稀疏输出的每窗统计

Tumbling-Window Aggregation — Sparse Per-Bucket Stats

中等面试准备Python / C++ / Rust
未尝试
coding-watermark-driven-late-event订阅锁定
基于水印的滚动窗口与延迟事件处理

Watermark-Driven Tumbling Windows with Late-Event Handling

困难面试准备Python / C++ / Rust
未尝试
coding-window-trigger-firing-policy订阅锁定
Tumbling Window Trigger Firing Policies (Early, On-Close, Speculative)

Tumbling Window Trigger Firing Policies (Early, On-Close, Speculative)

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