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.
- 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
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.
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.
- Python 3.x
- Aucun module externe requis sauf mention contraire
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
"""
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
- Certaines solutions peuvent avoir plusieurs variantes (simple → optimisée).
- Le dépôt évoluera progressivement selon mes révisions.
Suggestions et améliorations bienvenues.
N’hésite pas à ouvrir une issue ou une pull request.
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.
- 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
This repository will gradually include:
- ✏️ Practice exercises
- 🔁 Loops & conditionals
- 🧮 Mathematical problems
- 📚 Exam-style questions
- 🧩 Algorithmic challenges
- 🧵 String, list, function, and recursion exercises
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.
- Python 3.x
- No external libraries required unless explicitly stated
Clone the repository:
git clone https://github.com/USERNAME/algorithms.git
Run a Python file:
python file.py
"""
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
- Some solutions may include multiple versions (simple → optimized).
- The repository will evolve over time as I practice and study.
Suggestions and improvements are welcome.
Feel free to open an issue or a pull request.