Translate an existing Python solution into another language

Aperta Adatta ai principianti
#379 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
74/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
content

Direzione di ricerca

Inizia leggendo TOPICS.md o esplorando la directory solutions/python per scegliere una soluzione piccola che capisci, e commenta nell'issue il file e il linguaggio di destinazione così il lavoro non viene duplicato. Il nuovo file va in solutions/<language>/practice<next number>.<ext>, quindi controlla i nomi dei file esistenti in quella directory per trovare il prossimo numero libero e seguire la convenzione. Fatto significa che la soluzione portata è committata su un branch e aperta come pull request, dopo essere stata effettivamente eseguita con la toolchain del linguaggio che hai scelto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

15-minutes algorithm all-levels any-language beginner-friendly codewars good first issue hackerrank help wanted interview-prep leetcode open-source students

Description

Learn a new language by porting code you can already read

Take any Python solution in this repo and rewrite it in another language. It's one of the best ways to learn a language because the logic is already solved. You can focus on understanding the syntax, structure, and features of the language you're learning.

Time: ~15 minutes | Level: Beginner

Task
  • Browse the existing solutions in TOPICS.md or check the Python solutions.
  • Pick any Python solution.
  • Rewrite it in your language.
  • Save it as solutions/<language>/practice<next number>.<ext>.

The goal is to learn by translating code, not just copying it. Try to understand how the original works and how the same logic is expressed in your chosen language.

Comment which file and language you picked so others don't duplicate your work.

Open for everyone

This issue is open for everyone: beginners, experienced developers, students, and people who don't code at all. Any language, any level, no experience required. If you want to help, you are welcome here.

How to contribute

  1. Fork this repo.
  2. Clone your fork and create a new branch.
  3. Make your change.
  4. Commit, push, and open a Pull Request.

New to open source? Start here before anything else:

Getting Started Guide

Prefer video? Watch this: How to contribute on GitHub (YouTube)

If this repo helps you or you like where it is going, a star is a nice way to say thanks and helps other people find it. Entirely optional, and you do not need one to contribute.

Lingua principale
Python
Stelle
3
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Huerte/algo-solutions-python

Tutte le issue di Huerte/algo-solutions-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.