CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 49 / 646 道可提交题。 当前筛选:难度:困难,权限:订阅

提交状态:未尝试未正确已正确
未尝试
coding-almgren-chriss-static-tradeoff订阅锁定
Almgren-Chriss 静态最优执行轨迹

Almgren-Chriss Static Optimal Execution Trajectory

困难面试准备Python / C++ / Rust
未尝试
coding-american-mc-longstaff-schwartz订阅锁定
American Put Pricing via Longstaff-Schwartz Least-Squares Monte Carlo

American Put Pricing via Longstaff-Schwartz Least-Squares Monte Carlo

困难面试准备Python / C++ / Rust
未尝试
coding-antithetic-variates-variance-reduction订阅锁定
对偶变量法的方差缩减比

Antithetic Variates Variance Reduction

困难面试准备Python / C++ / Rust
未尝试
coding-backpressure-credit-flow订阅锁定
基于信用的背压:把生产者/消费者事件流回放成状态 trace

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

困难面试准备Python / C++ / Rust
未尝试
coding-bermudan-option-binomial-recursive订阅锁定
百慕大看跌期权的 CRR 二叉树定价(按行权日选择性早期行权)

Bermudan Put on a CRR Tree with Selective Early-Exercise

困难面试准备Python / C++ / Rust
未尝试
coding-bond-portfolio-key-rate-duration-hedge订阅锁定
Bond Portfolio Key-Rate Duration Hedge via Least Squares

Bond Portfolio Key-Rate Duration Hedge via Least Squares

困难面试准备Python / C++ / Rust
未尝试
coding-cir-short-rate-mle订阅锁定
Cox-Ingersoll-Ross 短期利率模型在历史利率序列上的极大似然标定

CIR Short-Rate MLE Calibration on a Historical Series

困难面试准备Python / C++ / Rust
未尝试
coding-credit-portfolio-mc-loss-distribution订阅锁定
Credit Portfolio MC Loss Distribution (Single-Factor Gaussian Copula)

Credit Portfolio MC Loss Distribution (Single-Factor Gaussian Copula)

困难面试准备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-edit-distance-with-cost-matrix订阅锁定
带成本矩阵的加权编辑距离

Weighted Edit Distance with Per-Character Cost Matrices

困难面试准备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-execution-with-hard-volume-cap订阅锁定
Optimal Execution Trajectory Under Hard Per-Bucket Volume Caps

Optimal Execution Trajectory Under Hard Per-Bucket Volume Caps

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

Fork-Join Segment Stats (Welford Pairwise Merge)

困难面试准备Python / C++ / Rust
未尝试
coding-gpd-tail-var-extrapolation订阅锁定
POT 框架下基于 GPD 的尾部 VaR 外推

GPD Tail-VaR Extrapolation under the POT Framework

困难面试准备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-importance-sampling-deep-otm-mc订阅锁定
Importance Sampling for Deep OTM Monte Carlo

Importance Sampling for Deep OTM Monte Carlo

困难面试准备Python / C++ / Rust
未尝试
coding-jump-diffusion-merton-mc订阅锁定
Merton Jump-Diffusion European Call via Monte Carlo

Merton Jump-Diffusion European Call via Monte Carlo

困难面试准备Python / C++ / Rust
未尝试
coding-max-diversification-portfolio订阅锁定
最大分散化组合 (Choueifaty-Coignard)

Maximum-Diversification Portfolio (Choueifaty-Coignard)

困难面试准备Python / C++ / Rust
未尝试
coding-mean-variance-frontier-long-only订阅锁定
Long-Only Mean-Variance Efficient Frontier

Long-Only Mean-Variance Efficient Frontier

困难面试准备Python / C++ / Rust
未尝试
coding-multi-leg-shortfall-attribution订阅锁定
Multi-Leg Implementation Shortfall — Basket Covariance Attribution

Multi-Leg Implementation Shortfall — Basket Covariance Attribution

困难面试准备Python / C++ / Rust
未尝试
coding-multi-level-monte-carlo-european-call订阅锁定
Multi-Level Monte Carlo for a European Call

Multi-Level Monte Carlo for a European Call

困难面试准备Python / C++ / Rust
未尝试
coding-multi-period-dp-with-impact-and-risk订阅锁定
Multi-Period DP for Optimal Execution Under Impact and Risk

Multi-Period DP for Optimal Execution Under Impact and Risk

困难面试准备Python / C++ / Rust
未尝试
coding-multi-period-impact-decay订阅锁定
Multi-Period Impact P&L with Exponential Decay Between Periods

Multi-Period Impact P&L with Exponential Decay Between Periods

困难面试准备Python / C++ / Rust
未尝试
coding-mutual-information-feature-rank订阅锁定
用直方图估计的互信息对特征做相关性排序

Rank Features by Histogram-Estimated Mutual Information with the Target

困难面试准备Python / C++ / Rust
未尝试
coding-online-pca-oja-rule-streaming订阅锁定
Online PCA via Oja's Rule (Streaming PC1)

Online PCA via Oja's Rule (Streaming PC1)

困难面试准备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-pca-ledoit-wolf-frobenius-shrinkage订阅锁定
Optimal Ledoit-Wolf Shrinkage (Frobenius)

Optimal Ledoit-Wolf Shrinkage (Frobenius)

困难面试准备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-purged-kfold-cv-time-series订阅锁定
时间序列机器学习的 Purged K 折交叉验证

Purged k-Fold Cross-Validation for Time-Series ML

困难面试准备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-risk-budget-iterative-allocation订阅锁定
Risk-Budget Allocation via Iterative Fixed-Point

Risk-Budget Allocation via Iterative Fixed-Point

困难面试准备Python / C++ / Rust
未尝试
coding-rolling-cointegration-johansen-test订阅锁定
Rolling Engle-Granger Cointegration Test for Pairs Trading

Rolling Engle-Granger Cointegration Test for Pairs Trading

困难面试准备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-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-square-root-impact-fit订阅锁定
加权最小二乘拟合平方根市场冲击系数

Fit the Square-Root Market-Impact Coefficient by Weighted Least-Squares

困难面试准备Python / C++ / Rust
未尝试
coding-stratified-sampling-mc-european订阅锁定
分层抽样蒙特卡洛:欧式看涨期权定价

European Call MC with Stratified Sampling on Terminal Z

困难面试准备Python / C++ / Rust
未尝试
coding-svensson-yield-curve-fit订阅锁定
Svensson (1994) 六参数收益率曲线拟合

Svensson (1994) 6-Parameter Yield-Curve Fit

困难面试准备Python / C++ / Rust
未尝试
coding-svi-no-arb-fit订阅锁定
SVI Slice Fit with No-Butterfly-Arbitrage Constraint

SVI Slice Fit with No-Butterfly-Arbitrage Constraint

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

T-Digest Streaming Percentile Estimator (k_1 Scale Function)

困难面试准备Python / C++ / Rust
未尝试
coding-twap-with-no-go-windows订阅锁定
带禁止窗口的 TWAP 调度

TWAP Scheduling Through Forbidden No-Go Windows

困难面试准备Python / C++ / Rust
未尝试
coding-vasicek-short-rate-mle订阅锁定
Vasicek 短期利率模型在历史利率序列上的极大似然标定

Vasicek Short-Rate MLE Calibration on a Historical Series

困难面试准备Python / C++ / Rust
未尝试
coding-walkforward-validation-strategy订阅锁定
Walk-Forward Validation for Time-Series Backtests

Walk-Forward Validation for Time-Series Backtests

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

Watermark-Driven Tumbling Windows with Late-Event Handling

困难面试准备Python / C++ / Rust