Skip to content

Arbabpouri/algorithms-across-languages

Repository files navigation

🌍 Algorithms Across Languages

Learn algorithms once.
Understand them everywhere.

A beautifully organized, open-source collection of classic algorithms implemented in multiple programming languages.
This repository helps you learn, compare, and truly understand algorithms by seeing how the same idea is expressed across different languages.


✨ Why This Repository?

Algorithms are universal — syntax is not.

This project exists to:

  • 🧠 Help you understand algorithms deeply, not just memorize code
  • 🔍 Compare the same algorithm across different programming languages
  • 📘 Provide clean, beginner-friendly, real-world examples
  • 🌱 Grow as a community-driven learning resource

Whether you're a student, self-learner, or developer, this repository is built for clarity and learning.


🧩 What You’ll Find Here

  • 🔎 Searching Algorithms
    Binary Search, Linear Search, and more

  • 🔃 Sorting Algorithms
    Bubble Sort, Selection Sort, and upcoming classics

  • 🧮 Mathematical Algorithms
    Fibonacci, GCD, and other fundamentals

Each algorithm is implemented consistently across languages to make comparison easy and intuitive.


💻 Supported Languages

Currently available implementations:

  • 🐍 Python
  • ⚙️ C
  • 🚀 C++
  • 🌀 Go

More languages and algorithms are continuously being added.


🗂️ Repository Structure

algorithms-across-languages/
│
├── binary_search/
│   ├── main.py
│   └── main.c
│
├── power/
│   ├── main.c
│   └── main.py
│
├── bubble_sort/
│   ├── main.c
│   └── main.py
│
├── is_prime/
│   ├── main.c
│   └── main.go
│
└── README.md

Clean. Simple. Easy to explore.


🚀 Getting Started

Clone the repository:

git clone https://github.com/Arbabpouri/algorithms-across-languages.git

Choose a language folder and start exploring.
Run the code, read it, compare it — and learn.


🤝 Contributing

This is a community-driven project, and contributions are always welcome ❤️

You can contribute by:

  • ➕ Adding new algorithms
  • 🌐 Implementing existing algorithms in new languages
  • ✨ Improving code clarity or documentation

Contribution Principles

  • Keep code simple and readable
  • Use clear and meaningful variable names
  • Follow the existing folder structure
  • Add comments where they add real value

Feel free to open a Pull Request anytime 🚀


🎓 Who Is This For?

  • Computer science students
  • Beginners learning algorithms
  • Developers comparing languages
  • Curious minds who love problem-solving

If you want to understand algorithms, not just copy them, you belong here.


📜 License

This project is licensed under the MIT License.
You are free to use, modify, and distribute this project.


⭐ Support the Project

If you find this repository helpful:

  • Give it a ⭐ star
  • Share it with others
  • Contribute and help it grow

Let’s learn algorithms — across languages 🌍

About

A multi-language collection of classic algorithm implementations for learning and comparison. Clean code examples across Python, C, C++, Go, and more — perfect for students and contributors.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors