Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Manipulating rust iterators

Open
#22 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
tooling

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aylei/leetcode-rust

All issues in aylei/leetcode-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.