CODING CHALLENGES

代码题库

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

继续刷题

题目列表

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

提交状态:未尝试未正确已正确
未尝试
coding-conditional-drawdown-at-risk订阅锁定
条件回撤风险

Conditional Drawdown at Risk

中等面试准备Python / C++ / Rust
未尝试
coding-cornish-fisher-var订阅锁定
Cornish-Fisher VaR

Cornish-Fisher VaR

中等面试准备Python / C++ / Rust
未尝试
coding-cross-sectional-rank-percentile订阅锁定
横截面 alpha 因子的排名分位数变换

Rank-to-Percentile Transform on a Cross-Section of Alpha Factors

中等面试准备Python / C++ / Rust
未尝试
coding-decile-spread-return订阅锁定
横截面十分位多空价差收益:跨期平均

Decile-Spread Forward Return Averaged Across Dates

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

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

中等面试准备Python / C++ / Rust
未尝试
coding-empirical-copula-uniform-rank-transform订阅锁定
经验 Copula:按列均匀秩变换

Empirical Copula via Per-Column Uniform Rank Transform

困难面试准备Python / C++ / Rust
未尝试
coding-empirical-mean-excess-function订阅锁定
用于 POT 阈值选择的经验均值超额函数

Empirical Mean Excess Function for POT Threshold Selection

困难面试准备Python / C++ / Rust
未尝试
coding-empirical-upper-tail-dependence订阅锁定
经验上尾相依系数:由二维联合样本估计

Empirical Upper-Tail-Dependence Coefficient from Bivariate Samples

困难面试准备Python / C++ / Rust
未尝试
coding-evt-block-maxima-gev-fit订阅锁定
用矩估计把分块极大值拟合到 Gumbel(GEV, ξ=0)子情形

Fit a Gumbel (GEV, ξ=0) to Block Maxima by Method of Moments

中等面试准备Python / C++ / Rust
未尝试
coding-evt-hill-estimator-tail-index订阅锁定
尾部指数的 Hill 估计

Hill Estimator for the Tail Index

中等面试准备Python / C++ / Rust
未尝试
coding-evt-pot-gpd-fit订阅锁定
阈值超额法 (POT) 下的 GPD 矩量法拟合

Peaks-Over-Threshold GPD Fit by Method of Moments

中等面试准备Python / C++ / Rust
未尝试
coding-expected-shortfall-historical订阅锁定
滚动历史 Expected Shortfall (CVaR)

Rolling Historical Expected Shortfall (CVaR)

中等面试准备Python / C++ / Rust
未尝试
coding-fork-join-segment-stats订阅锁定
Fork-Join 分段统计(Welford 两段合并)

Fork-Join Segment Stats (Welford Pairwise Merge)

困难面试准备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-hill-estimator-tail-index订阅锁定
重尾损失分布尾指数的 Hill 估计

Hill Estimator for the Tail Index of a Heavy-Tailed Loss Distribution

困难面试准备Python / C++ / Rust
未尝试
coding-historical-var-portfolio订阅锁定
组合历史 VaR

Historical VaR for a Long-Only Portfolio

中等面试准备Python / C++ / Rust
未尝试
coding-historical-var-var-only订阅锁定
滚动历史 VaR 序列

Rolling Historical VaR Track

中等面试准备Python / C++ / Rust
未尝试
coding-mad-zscore-cross-section订阅锁定
基于中位数和 MAD 的稳健横截面 z-score

Robust Cross-Sectional Z-Score via Median and MAD

简单面试准备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-monte-carlo-var-portfolio订阅锁定
蒙特卡洛 VaR(多资产组合)

Monte-Carlo VaR for a Multi-Asset Portfolio

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

Parallel Pairwise Mean Merge with Kahan Compensation

困难面试准备Python / C++ / Rust
未尝试
coding-pareto-tail-var-via-hill-estimator订阅锁定
基于 Hill 估计的 Pareto 尾部 VaR 外推

Pareto Tail VaR via Hill-Estimator Extrapolation

困难面试准备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-quintile-bucket-by-factor订阅锁定
横截面因子的五分位(k 分位)分桶

Quintile (k-tile) Bucketing of a Cross-Sectional Factor

中等面试准备Python / C++ / Rust
未尝试
coding-rank-average-signal-combine订阅锁定
多因子信号的排名平均合成

Rank-Average Multi-Factor Signal Combination

中等面试准备Python / C++ / Rust
未尝试
coding-rank-bucket-decile订阅锁定
横截面排名分桶:按序数排名(首现破平)映射到十分位

Cross-Sectional Rank Bucketing into Deciles with Ordinal Tie-Breaks

中等面试准备Python / C++ / Rust
未尝试
coding-rank-corr-spearman订阅锁定
两因子序列的 Spearman 等级相关:平均排名破平

Spearman Rank Correlation with Average-Rank Tie Breaking

中等面试准备Python / C++ / Rust
未尝试
coding-rank-correlation-spearman-kendall订阅锁定
Spearman 等级相关与 Kendall tau-b:copula 流水线上的双等级相关诊断

Spearman Rho and Kendall Tau-b: Dual Rank-Correlation Diagnostic for the Copula Pipeline

困难面试准备Python / C++ / Rust
未尝试
coding-realized-vol-jump-test-bnsh订阅锁定
Realized-Volatility Jump Test (Barndorff-Nielsen and Shephard)

Realized-Volatility Jump Test (Barndorff-Nielsen and Shephard)

困难面试准备Python / C++ / Rust
未尝试
coding-rolling-window-variance-ratio-test订阅锁定
Rolling-Window Variance Ratio Test (Lo-MacKinlay)

Rolling-Window Variance Ratio Test (Lo-MacKinlay)

困难面试准备Python / C++ / Rust
未尝试
coding-sector-neutralize-factor订阅锁定
横截面 alpha 因子的板块中性化

Sector-Neutralize an Alpha Factor Cross-Section

中等面试准备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-spectral-risk-measure订阅锁定
谱风险度量 (Acerbi 2002)

Spectral Risk Measure (Acerbi 2002)

困难面试准备Python / C++ / Rust
未尝试
coding-survivorship-aware-universe订阅锁定
考虑幸存者偏差的当日可交易股票池

Survivorship-Aware Tradeable Universe on a Date

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

T-Digest Streaming Percentile Estimator (k_1 Scale Function)

困难面试准备Python / C++ / Rust
未尝试
coding-topk-bottomk-portfolio订阅锁定
多最强 K / 空最弱 K 等权组合

Equal-Weight Long-Top-K / Short-Bottom-K Portfolio

中等面试准备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