This project is part of my learning journey through the W3Schools Python tutorial.
It covers sorting algorithms in DSA and a small MySQL integration example.
The goal of this project is to:
- Implement and compare sorting algorithms.
- Connect Python with MySQL.
- Create a simple table in a MySQL database.
- Insertion Sort
- Quick Sort
- Counting Sort
- Radix Sort
- Merge Sort
- MySQL: Get Started
- MySQL: Create Database & Table
-
Sorting Algorithms
- Start with an unsorted array.
- Apply multiple sorting techniques.
- Verify that each method gives the same sorted result.
-
MySQL Integration
- Connect Python to MySQL.
- Create a new database (
mydatabase). - Create a simple table (
users) with fields forid,name, andemail.
[12, 23, 34, 45, 56, 67, 89, 90] [12, 23, 34, 45, 56, 67, 89, 90] [12, 23, 34, 45, 56, 67, 89, 90] Original array: [12, 23, 34, 45, 56, 67, 89, 90] [12, 23, 34, 45, 56, 67, 89, 90] Sorted array: [12, 23, 34, 45, 56, 67, 89, 90] β Table 'users' created in 'mydatabase'
- Python (Sorting & MySQL connector)
- MySQL (Database & Table creation)
- How different sorting algorithms work.
- How to connect Python with MySQL.
- How to create databases and tables programmatically.
π¦ DSA-MySQL-Project β£ π main.py # Main Python script with sorting + MySQL code β π README.md # Project documentation
β This project reflects my progress in Python DSA + MySQL basics using W3Schools.