CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 32 / 646 道可提交题。 当前筛选:标签:Microstructure,难度:简单

提交状态:未尝试未正确已正确
未尝试
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-canonical-symbol-form可练习
代码符号规整 — 跨场所去重分组

Canonical Ticker-Symbol Form — Cross-Venue Dedup

简单免费版Python / C++ / Rust
未尝试
coding-count-in-band-k-windows可练习
全部报价位于容差带内的 K 期窗口计数

Count K-Tick Windows With Every Quote Inside the Tolerance Band

简单免费版Python / C++ / Rust
未尝试
coding-count-positive-flow-k-windows可练习
严格净流入的 K 期窗口计数

Count of Strictly-Positive Net-Inflow K-Period Windows

简单免费版Python / C++ / Rust
未尝试
coding-counterparty-max-count-differential可练习
对手方活跃度漂移:跨两段成交流水的最大计数差异

Counterparty Activity Shift: Largest Trade-Count Differential Across Two Sessions

简单免费版Python / C++ / Rust
未尝试
coding-counterparty-notional-aggregator可练习
对手方毛敞口聚合器:按规模排序的汇总表

Counterparty Gross-Notional Aggregator: Magnitude-Sorted Roll-Up

简单免费版Python / C++ / Rust
未尝试
coding-daily-pnl-streak-stack可练习
距下一个更高 P&L 的天数

Days Until a Better PnL

简单免费版Python / C++ / Rust
未尝试
coding-day-over-day-counterparty-symmetric-diff可练习
对手方轮动指示器:日间对称差大小序列

Counterparty Rotation Indicator: Day-Over-Day Symmetric-Difference Series

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

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

简单免费版Python / C++ / Rust
未尝试
coding-fill-attribution-by-parent-id可练习
按父单 ID 归集成交:子单回填到父单

Fill Attribution by Parent Order ID

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

Find Third Largest Distinct

简单免费版Python / C++ / Rust
未尝试
coding-first-order-id-with-freq-k可练习
成交审计频次探针:定位首个生命周期 FIX 事件数恰为 k 的 order ID

Fills-Audit Frequency Probe: First Order-ID Whose Lifecycle Hits Exactly k FIX Events

简单免费版Python / C++ / Rust
未尝试
coding-first-unique-character可练习
第一个唯一字符

First Unique Character

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

Largest Divisible Pair (Sort + Scan)

简单免费版Python / C++ / Rust
未尝试
coding-longest-palindromic-substring可练习
最长回文子串

Longest Palindromic Substring

简单免费版Python / C++ / Rust
未尝试
coding-longest-substring-no-repeat可练习
无重复字符的最长子串

Longest Substring Without Repeating Characters

简单免费版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-min-stack-with-getmin可练习
支持 O(1) 取最小值的最小栈

Min-Stack with O(1) get_min

简单免费版Python / C++ / Rust
未尝试
coding-most-frequent-consecutive-event-pair可练习
订单事件足迹:找出最频繁的连续事件二元组

Order-Event Footprint: Most-Frequent Consecutive Event-Pair

简单免费版Python / C++ / Rust
未尝试
coding-next-greater-quote-time可练习
下一次更高报价的时间戳

Next Greater Quote Timestamp

简单免费版Python / C++ / Rust
未尝试
coding-next-smaller-element-mono-stack可练习
下一个更小元素的下标

Next Smaller Element Index

简单免费版Python / C++ / Rust
未尝试
coding-peak-inventory-day-after-batch-trades可练习
批量区间增量交易后的峰值库存日

Peak Inventory Day After Batched Range-Update Trades

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

Rank Records by Multi-Key Tie-Break Rule

简单免费版Python / C++ / Rust
未尝试
coding-roman-to-integer-conversion可练习
罗马数字转整数

Roman Numeral to Integer

简单免费版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-string-reverse-sentence-words可练习
反转句子中的单词

Reverse Words in a Sentence

简单免费版Python / C++ / Rust
未尝试
coding-string-valid-palindrome-check可练习
有效回文判断(仅字母数字、忽略大小写)

Valid Palindrome (Alphanumeric, Case-Insensitive)

简单免费版Python / C++ / Rust
未尝试
coding-valid-anagram-character-counts可练习
有效的字母异位词(字符计数)

Valid Anagram (Character Counts)

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