Skip to content

Rust blockchain developer application - #34

Open
vi5hnuraj wants to merge 4 commits into
lightrainstech:masterfrom
vi5hnuraj:rust-blockchain-developer-application
Open

vi5hnuraj wants to merge 4 commits into
lightrainstech:masterfrom
vi5hnuraj:rust-blockchain-developer-application

Conversation

@vi5hnuraj

Copy link
Copy Markdown

Applying for the Rust Blockchain Developer position via the developer path.

What's included

  • answers.md — answers to all questions from questions.md
  • src/lib.rs — Rust solutions for the four coding puzzles, with 11 unit tests
  • src/main.rs — demo binary that prints each solution's output
  • Cargo.toml — crate setup

Notes

  • All puzzles are solved in Rust, the language I'm applying with.
  • The rotate puzzle is done in place using the three-reversal trick — no copy of the list, exactly n swap operations.
  • Pig Latin translation matches the exact example from the question and round-trips back to English.

How to run

cargo test # 11 tests passing
cargo run # prints every puzzle solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant