Skip to content

mina2706/Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Algorithms

📘 Algorithms

Solutions d’exercices et examens d’Algorithmique 1 en Python

Bienvenue dans ce dépôt !
Il contient toutes mes solutions en Python pour les exercices, TP, devoirs et sujets d'examen du cours Algo 1.


🎯 Objectif du dépôt

  • Centraliser mes solutions aux exercices d’algorithmique
  • Documenter différentes approches de résolution
  • Suivre ma progression en Python et en algorithmique
  • Servir de base pour révisions et entraînement aux examens

🧠 Contenu

Ce dépôt rassemblera progressivement :

  • ✏️ Exercices pratiques
  • 🔁 Boucles & conditions
  • 🧮 Problèmes mathématiques
  • 📚 Sujets types examens
  • 🧩 Défis algorithmiques
  • 🧵 Exercices sur chaînes, listes, fonctions, etc.

📁 Arborescence du dépôt:

Algorithms/ ├── .gitignore ├── README.md ├── TDs/ │ ├── TD7/ │ └── TD11/ └── interface_machine_trace/

  • TDs/ : exercices de travaux dirigés en algorithmique.
  • TD7/ et TD11/ : séries d’exercices classées par TD.
  • interface_machine_trace/ : mini-projet lié à la visualisation et au tracé.
  • README.md : présentation générale du dépôt.

🐍 Technologie

  • Python 3.x
  • Aucun module externe requis sauf mention contraire

🚀 Utilisation

Cloner le dépôt :

git clone https://github.com/USERNAME/algorithms.git

Exécuter un fichier Python :

python3 fichier.py

Exécuter un algorithme de machine tracé:

xvfb-run -s "-screen 0 1024x768x24" python3 fichier.py 

📄 Template conseillé pour chaque fichier d’exercice

"""
Titre : <Titre de l'exercice>
Énoncé : <Résumé ou copie de l'énoncé>
Auteur : Ton Nom
Date   : YYYY-MM-DD
Complexité : O(...), si connue
"""

def solution():
    pass

if __name__ == "__main__":
    # tests simples
    pass

📝 Notes

  • Certaines solutions peuvent avoir plusieurs variantes (simple → optimisée).
  • Le dépôt évoluera progressivement selon mes révisions.

🤝 Contributions

Suggestions et améliorations bienvenues.
N’hésite pas à ouvrir une issue ou une pull request.


📘 Algorithms (English version)

Solutions to Algorithmics 1 Exercises and Exams in Python

Welcome to this repository!
It contains all my Python solutions for exercises, practical work, homework, and past exam problems from the Algorithmics 1 course.


🎯 Purpose of the Repository

  • Centralize all my algorithmic exercise solutions
  • Document different ways to solve a problem
  • Track my progress in Python and algorithmic thinking
  • Serve as a study reference and exam preparation tool

🧠 Content

This repository will gradually include:

  • ✏️ Practice exercises
  • 🔁 Loops & conditionals
  • 🧮 Mathematical problems
  • 📚 Exam-style questions
  • 🧩 Algorithmic challenges
  • 🧵 String, list, function, and recursion exercises

📁 Repository Structure

Algorithms/ ├── .gitignore ├── README.md ├── TDs/ │ ├── TD7/ │ └── TD11/ └── interface_machine_trace/

TDs/: algorithmics tutorial exercises.

TD7/ and TD11/: exercise sets organized by tutorial session.

interface_machine_trace/: small project related to visualization and drawing.

README.md: general presentation of the repository.

.gitignore : fichiers et dossiers exclus du versionnement Git.

🐍 Technology

  • Python 3.x
  • No external libraries required unless explicitly stated

🚀 Usage

Clone the repository:

git clone https://github.com/USERNAME/algorithms.git

Run a Python file:

python file.py

📄 Suggested Template for Each Exercise File

"""
Title       : <Exercise title>
Description : <Summary or statement of the exercise>
Author      : Your Name
Date        : YYYY-MM-DD
Complexity  : O(...), if known
"""

def solution():
    pass

if __name__ == "__main__":
    # simple tests
    pass

📝 Notes

  • Some solutions may include multiple versions (simple → optimized).
  • The repository will evolve over time as I practice and study.

🤝 Contributions

Suggestions and improvements are welcome.
Feel free to open an issue or a pull request.


About

Python repository for Algorithmics 1 exercises, exam practice, and basic algorithm implementations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages