CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 37 / 646 道可提交题。 当前筛选:标签:Hash map,权限:免费

提交状态:未尝试未正确已正确
未尝试
coding-active-quote-peak-count可练习
报价引擎活跃集合:并发活跃报价的峰值数量

Quote Engine Active Set: Peak Concurrently-Live Quotes

中等免费版Python / C++ / Rust
未尝试
coding-array-product-except-self可练习
除自身以外数组的乘积

Array Product Except Self

简单免费版Python / C++ / Rust
未尝试
coding-canonical-symbol-form可练习
代码符号规整 — 跨场所去重分组

Canonical Ticker-Symbol Form — Cross-Venue Dedup

简单免费版Python / C++ / Rust
未尝试
coding-canonical-symbol-group-ids可练习
预聚合分桶标签:多场所同标的的规范化分组编号

Pre-Aggregation Bucket Labels: Canonical-Form Group IDs for Multi-Venue Symbols

中等免费版Python / C++ / Rust
未尝试
coding-card-shuffle-bias-detection可练习
洗牌偏差检测:找出最被高估的排列

Card Shuffle Bias Detection

困难免费版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-day-over-day-counterparty-symmetric-diff可练习
对手方轮动指示器:日间对称差大小序列

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

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

Open-Order Dashboard Tile: Distinct Symbols Currently In Play

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

Fill Attribution by Parent Order ID

简单免费版Python / C++ / Rust
未尝试
coding-find-pivot-index可练习
P&L 序列的枢轴下标

Find the Pivot Index of a P&L Stream

简单免费版Python / C++ / Rust
未尝试
coding-first-duplicate-order-id可练习
首个被重复使用的订单 ID

First Duplicate Order ID

中等免费版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-fix-message-checksum-verify可练习
FIX 风格尾字段校验和:管道分隔消息逐条三态判定

FIX-Style Trailing Checksum Verify: Trinary Label Per Pipe-Delimited Message

中等免费版Python / C++ / Rust
未尝试
coding-fix-tag-extract可练习
FIX 风格 tag 取值:在管道分隔消息中取数字 tag 的首个值

FIX-Style Tag Extract: First Value for a Numeric Tag in a Pipe-Delimited Message

中等免费版Python / C++ / Rust
未尝试
coding-longest-consecutive-sequence-hash可练习
最长连续整数序列(哈希集合)

Longest Consecutive Sequence (Hash Set)

中等免费版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-min-window-substring可练习
最小覆盖子串

Minimum Window Substring

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

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

简单免费版Python / C++ / Rust
未尝试
coding-most-frequent-trade-fingerprint可练习
成交带异常检测:找出重复次数最多的成交指纹

Tape-Anomaly Detector: Most-Repeated Trade Fingerprint

中等免费版Python / C++ / Rust
未尝试
coding-net-position-from-trade-events可练习
由原始成交流水计算日终净头寸

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

中等免费版Python / C++ / Rust
未尝试
coding-notional-by-venue-ranked可练习
按场所聚合的成交名义额排行榜

Notional by Venue, Ranked

中等免费版Python / C++ / Rust
未尝试
coding-orphan-cancel-count可练习
路由可靠性检查:统计孤儿撤单数量

Router Reliability Check: Count Orphan Cancellations

中等免费版Python / C++ / Rust
未尝试
coding-position-fingerprint-grouping可练习
组合持仓指纹聚类

Position Fingerprint Grouping

中等免费版Python / C++ / Rust
未尝试
coding-range-sum-2d-prefix可练习
二维区间和查询(前缀和表)

2D Range Sum via Prefix Table

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

Roman Numeral to Integer

简单免费版Python / C++ / Rust
未尝试
coding-running-distinct-counterparty-count可练习
对手方多样性诊断:滚动累计不同对手方数量

Counterparty Diversity Diagnostic: Running Distinct Counterparty Count

中等免费版Python / C++ / Rust
未尝试
coding-strategy-pnl-bookkeeping可练习
按策略维度的盯市 P&L 簿记

Per-Strategy P&L Bookkeeping with Mark-to-Market

中等免费版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-subarray-sum-equals-k可练习
和为 K 的子数组数

Subarray Sum Equals K

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

Top K Liquid Tickers

简单免费版Python / C++ / Rust
未尝试简单免费版Python / C++ / Rust
未尝试
coding-unique-tickers-in-session可练习
盘中出现的唯一标的集合

Unique Tickers In Session

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

Valid Anagram (Character Counts)

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