CODING CHALLENGES

代码题库

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

继续刷题

题目列表

显示 18 / 646 道可提交题。 当前筛选:标签:Portfolio,权限:免费,语言:Rust

提交状态:未尝试未正确已正确
未尝试
coding-bounded-k-transactions-2d-dp可练习
限次交易最优收益的 2D 动态规划

Bounded K Transactions: 2D DP for Maximum Profit

困难免费版Python / C++ / Rust
未尝试
coding-bounded-knapsack-multi-share可练习
单笔上限下的多档行权配置(有界背包)

Multi-Strike Portfolio with Per-Strike Share Cap (Bounded Knapsack)

中等免费版Python / C++ / Rust
未尝试
coding-correlation-cluster-count可练习
因子聚簇计数:阈值化相关性图的连通分量数

Factor Cluster Count: Connected Components on a Thresholded Correlation Graph

中等免费版Python / C++ / Rust
未尝试
coding-edit-distance-symbol-mapping可练习
Ticker 符号映射的编辑距离

Edit Distance for Ticker-Symbol Mapping

中等免费版Python / C++ / Rust
未尝试
coding-grid-min-path-sum可练习
网格最小代价路径

Minimum Cost Path Through a Grid

简单免费版Python / C++ / Rust
未尝试
coding-grid-pnl-path-max可练习
网格盈亏的最大累积路径

Maximum P&L Path Through a Grid

简单免费版Python / C++ / Rust
未尝试
coding-knapsack-symbol-selection-budget可练习
预算约束下的标的选择(0/1 背包)

Budget-Constrained Ticker Selection (0/1 Knapsack)

中等免费版Python / C++ / Rust
未尝试
coding-largest-correlation-cluster-size可练习
最大因子聚簇规模:阈值化相关性图的最大连通分量大小

Largest Factor Cluster Size: Maximum Connected Component on a Thresholded Correlation Graph

中等免费版Python / C++ / Rust
未尝试
coding-max-grid-pnl-path-with-k-skips可练习
最多跳过 K 格的网格 PnL 路径最大化(仅右/下行)

Maximum Grid PnL Path With At-Most-K Cell Skips (Right/Down)

困难免费版Python / C++ / Rust
未尝试
coding-max-reward-disjoint-resource-bitmask-subset可练习
在风险桶预算位掩码下的非交叠对冲合约最大收益选择

Disjoint Risk-Bucket Hedge Selection under a Bucket-Budget Bitmask

中等免费版Python / C++ / Rust
未尝试
coding-max-reward-trade-action-alignment可练习
交易动作序列的最大奖励对齐

Max-Reward Sequence Alignment Across Trade-Action Streams

困难免费版Python / C++ / Rust
未尝试
coding-min-hops-to-core-factor-set可练习
到核心因子集合的最少跳数:因子相似图上的多源 BFS

Min Hops to Core Factor Set: Multi-Source BFS on a Factor-Similarity Graph

中等免费版Python / C++ / Rust
未尝试
coding-min-replenish-keep-inventory-positive可练习
对冲存量补货:保持非负所需的最少补货次数

Hedge-Inventory Replenishment: Minimum Top-Ups to Stay Non-Negative

中等免费版Python / C++ / Rust
未尝试
coding-portfolio-expected-loss-by-bucket可练习
组合预期损失分桶聚合:PD x LGD x EAD 瀑布

Portfolio Expected Loss by Bucket: PD x LGD x EAD Waterfall

中等免费版Python / C++ / Rust
未尝试
coding-portfolio-whole-share-knapsack可练习
单名集中度限制下的整股组合分配

Whole-Share Portfolio Allocator under a Single-Name Cap

中等免费版Python / C++ / Rust
未尝试
coding-two-budget-knapsack-strike-premium可练习
双约束下的行权 premium 配置(delta 与 vega 双预算)

Two-Budget Strike-Premium Knapsack (Delta and Vega Caps)

困难免费版Python / C++ / Rust
未尝试
coding-unique-paths-with-obstacles可练习
带障碍的不同路径数

Unique Paths with Obstacles

简单免费版Python / C++ / Rust
未尝试
coding-weighted-edit-trade-paths可练习
计划与实际交易路径的加权编辑距离

Weighted-Cost Edit Distance Between Trade-Action Paths

困难免费版Python / C++ / Rust