Manipulating rust iterators
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
Research direction
The issue refers to solution s0007 and its problem description; read those first to understand the iterator comparison. Clarify whether an idiomatic Rust rewrite is requested, because no file path, specific change, or acceptance criteria is provided. Done would require an agreed scope and expected solution style.
Written by the indexing model from the issue text.
Description
Hi,
Out of interest, I read one of your solution s0007.
I was given the impression from problem desc that a solution would be like
str.push('-');
str[1..].chars().rev().collect::<String>().parse().unwrap_or(0)
Your code is much like c than rust.
- Dominant language
- Rust
- Stars
- 765
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aylei/leetcode-rust
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
aylei/leetcode-rust#46 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
aylei/leetcode-rust#7 ·
-
leetcode的id和slug不匹配Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
aylei/leetcode-rust#3 ·
-
New macro for testing collections' equality despite orderingMay be free again @aylei claimed this 2805 days ago, and no pull request is open. Open
aylei/leetcode-rust#2 · 1 assignee ·
-
Automatically generating solution list in READMEMay be free again @aylei claimed this 2805 days ago, and no pull request is open. Open
aylei/leetcode-rust#1 · 1 assignee ·
All issues in aylei/leetcode-rust
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
fritzprix/libr-agent#2165 ·
Maintainers usually reply within 1 day
-
area:ecosystem bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Chelis-Lang/chelis#3942 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Maintainers usually reply within 1 day
-
review-bot
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Maintainers usually reply within 1 day