Skip to content

A collection of coding exercises to help you improve your programming skills

License

Notifications You must be signed in to change notification settings

druxorey/code-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Practices

A collection of coding exercises to help you improve your programming skills

Repository Structure

How To Execute Scripts

Bash

To execute a Bash script, navigate to the directory containing the script and use the following command:

bash script-name.sh

C++

To execute a C++ script, navigate to the directory containing the script and compile it with g++ (or any other C++ compiler) using the following command:

g++ script-name.cpp -o script-compiled

Then run it with the next command:

./script-name

Golang

To execute a Go script, navigate to the directory containing the script and compile it with go using the following command:

go build -o script-compiled script-name.go

Then run it with the next command:

./script-name

Python

To execute a Python script, navigate to the directory containing the script and use the following command:

python3 script-name.py

Rust

To execute a Rust script, navigate to the directory containing the script and compile it with rust using the following command:

rustc script-name.rs -o script-compiled

Then run it with the next command:

./script-name

Contribute

If you want to add new exercises or improve existing ones, follow these steps:

  1. Open an issue to discuss the changes.
  2. Fork this repository.
  3. Create a new branch for your contribution: git checkout -b your-branch-name.
  4. Make your changes. To add new exercises, edit the Markdown files in the _exercises directory.
  5. Commit your changes, for example: git commit -m 'feat(exercises): added S05[E14] 'pharmacy-value' exercise.'.
  6. Push your changes to your forked repository: git push origin your-branch-name.
  7. Open a Pull Request in this repository and reference the original issue.

License

This project is licensed under the GPL-3.0 License. See the LICENSE file for more details.