Add a `transpose` Java goody
还没有人认领这个 Issue。
评估
调研方向
首先找到 Java 工具和现有的 VirtualList 实现。将其 lazy backing 行为与提议的 transpose(matrix) API 进行比较,并使用 3×3 示例作为预期结果。当 API 返回转置视图,同时保留与原始数据之间所要求的 lazy 关系时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I'm thinking it would be neat to make this "lazy", i.e. have it backed by the same data as the original.
A possible API:
int[][] matrix = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
List<List<Integer>> transposedMatrix = transpose(matrix);
System.out.println(transposedMatrix); // should print [[1, 4, 7], [2, 5, 8], [3, 6, 9]]
The implementation could use the VirtualList goody to achieve this effect.
- 主要语言
- TypeScript
- 星标
- 20
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
code-chronicles-code/leetcode-curriculum 的其他 Issue
-
enhancement kotlin
难度 2/5 1-3 小时 新手友好度 68/100
-
good first issue tests
难度 1/5 1-3 小时 新手友好度 82/100
-
Add tests for `swap` utility可能重新可做 关联的 PR 已关闭且未合并。 未关闭good first issue tests
难度 2/5 1-3 小时 新手友好度 64/100
-
good first issue tests
难度 2/5 1-3 小时 新手友好度 65/100
-
bug
难度 4/5 3-5 天 新手友好度 30/100
code-chronicles-code/leetcode-curriculum#418 · 1 条评论 ·
查看 code-chronicles-code/leetcode-curriculum 的全部 Issue
相似的 Issue
-
nextjs-tracking
难度 2/5 1-3 小时 新手友好度 74/100
cloudflare/vinext#3887 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
apache/rocketmq-dashboard#6331 ·
维护者通常 5 天内回复
-
bug cache clinical-safety P1-critical
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
juspay/blend-design-system#1788 ·
维护者通常 1 天内回复
-
[Analytics] Add Focus Time-Block Efficiency Ratio Calculator in src/lib/focus/efficiency-ratio.ts未关闭analytics beginner friendly community contributions-welcome enhancement good first issue hacktoberfest help wanted up-for-grabs
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复