CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 12 / 646 道可提交题。 当前筛选:标签:Heap,难度:简单,语言:Rust

提交状态:未尝试未正确已正确
未尝试
coding-bucket-histogram-trade-sizes可练习
用右闭分桶把交易笔数归入规模档位

Trade-Size Tier Histogram via Right-Inclusive Edges

简单免费版Python / C++ / Rust
未尝试
coding-bucket-sort-pnl-quantiles可练习
桶排序构建盈亏直方图

Bucket-Sort P&L Histogram

简单免费版Python / C++ / Rust
未尝试
coding-dense-rank-trade-sizes可练习
给当日成交按所属买卖方向做 dense rank 标注

Per-Side Dense-Rank Annotation for the Day's Blotter

简单免费版Python / C++ / Rust
未尝试
coding-find-third-largest-distinct可练习
查找第三大的不同元素

Find Third Largest Distinct

简单免费版Python / C++ / Rust
未尝试
coding-largest-divisible-pair-sort可练习
最大可整除对(排序 + 扫描)

Largest Divisible Pair (Sort + Scan)

简单免费版Python / C++ / Rust
未尝试
coding-merge-overlapping-quote-windows可练习
Merge Overlapping Quote-Validity Windows

Merge Overlapping Quote-Validity Windows

简单免费版Python / C++ / Rust
未尝试
coding-merge-two-sorted-lists-iterative可练习
合并两个有序列表 — 迭代双指针

Merge Two Sorted Lists — Iterative Two-Pointer

简单免费版Python / C++ / Rust
未尝试
coding-rank-by-multi-key-tiebreak可练习
按多键优先级与次序对记录排序

Rank Records by Multi-Key Tie-Break Rule

简单免费版Python / C++ / Rust
未尝试
coding-running-cumulative-sum-stream可练习
流式累计求和

Running Cumulative Sum over a Stream

简单免费版Python / C++ / Rust
未尝试
coding-stream-distinct-count-elements可练习
流式不同元素的运行计数

Stream Running Distinct Count

简单免费版Python / C++ / Rust
未尝试
coding-stream-kth-largest-pnl可练习
流式 K 大盈亏

Streaming K-th Largest P&L

简单免费版Python / C++ / Rust
未尝试
coding-top-k-liquid-tickers可练习
流动性 Top-K 标的榜单

Top K Liquid Tickers

简单免费版Python / C++ / Rust