Skip to content

Zapking-001/PY_Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 PY_PROJECTS: 81 Projects — A Mathematical Odyssey

Python
WSL
LaTeX
Status
License

"A rigorous translation of mathematical intuition into computational reality. 81 milestones of disciplined learning."


🛰️ The Mission & Philosophy

This repository represents a transformative journey through 81 structured Python projects, designed to bridge the gap between abstract mathematical theory and tangible technical mastery. This collection presents a progressive challenge across five core categories, cultivating a diverse spectrum of analytical thinking—ranging from the elegance of number theory to the precision of algorithmic modeling.


🏗️ Repository Architecture

PY_Projects/
├── 📁 Section_1/ -> Numbers_and_Sequences      # Projects 01-15: Prime logic, Series, & Factors
├── 📁 Section_2/ -> String_and_Text_Logic      # Projects 16-30: Palindromes, Cyphers, & Symbolic Patterns
├── 📁 Section_3/ -> Data_Structures_Logic      # Projects 31-50: Stacks, Queues, & Subarray Analysis
├── 📁 Section_4/ -> Geometry_and_Coordinate    # Projects 51-65: Vector space, Distance, & Polygons
├── 📁 Section_5/ -> Intermediate_Algos         # Projects 66-81: Calculus, Root Finding, & Linear Systems
└── 📁 Documentation_Source/                    # Source LaTeX files for the Project-81 PDF

🛠️ Implementation & Environment

⚡ The Tri-Lens Protocol

  • [E] Efficient: High-performance code optimized for $O(n)$ complexity.
  • [S] Shortest: "Pythonic" one-liners and functional paradigms.
  • [M] Mathematical: Code that strictly maps to formal $\LaTeX$ notations.

🐧 Environment Setup (WSL Optimized)

This project is engineered for WSL users with strict storage constraints:

  1. Clone:
    git clone https://github.com/Zapking-001/PY_Projects.git
  2. Minimalism: Zero external dependencies (No pip install required).
  3. Storage: Total footprint kept under 5GB via strict .gitignore of build artifacts.

📊 Algorithmic Complexity Map

Complexity Projects Included Logic Focus
O(1) 51, 60, 80 Geometric Formulas / Constant Time
O(log n) 03, 08 Binary Search / Efficient Powering
O(n) 01-45, 48-50 Linear Scans / Single-pass Aggregations
O(n²) 49 (Shortest) Nested Subarray Validations

Complextiy Map for Reference

Complexity Logic Focus
O(1) Constant Time / Direct Access / Math Formulas
O(log n) Binary Search / Divide & Conquer
O(√n) Prime Checks / Optimized Loops
O(n) Linear Scan / Single-pass Aggregation
O(n log n) Efficient Sorting / Recursive Divide & Merge
O(n²) Nested Loops / Pair Comparisons
O(n³) Triple Nested Loops / Matrix Operations
O(2ⁿ) Brute-force Recursion / Subset Generation
O(n!) Permutations / Traveling Salesman (Brute Force)
O(kⁿ) Exponential State Exploration
O(log log n) Double Logarithmic Algorithms
O(n log log n) Advanced Sieve Algorithms
O(1) Space In-place Computation
O(log n) Space Recursive Call Stack (Binary Recursion)
O(n) Space Auxiliary Arrays / Hash Tables
O(n²) Space DP Tables / Adjacency Matrices
O(n!) Space Recursive Permutation Storage

🧠 Lessons Learned

  • Logic over Libraries: Building core math logic without NumPy forces a deeper understanding of memory management.
  • Constraint-Driven Design: Maintaining the 5GB WSL limit taught the importance of cleaning build caches and optimizing script size.
  • Precision Matters: Handling floating-point errors in iterative methods requires disciplined rounding strategies.

🧪 Running Tests & Validation

To ensure the Mathematical [M] logic matches the Efficient [E] output, run the validation script:

python3 validate_all.py

Note: This script performs cross-verification of outputs to ensure theorem-consistency.


🏛️ Acknowledgments & References

  • Roadmap: Based on the "Project-81" Mathematical Curriculum.
  • Documentation: Typeset in $\LaTeX$ using the Noto Sans font family.
  • Inspiration: Classic numerical analysis texts and the "Mathematics-First" coding movement.

🙋 FAQ (Frequently Asked Questions)

Click to expand Technical FAQs
  1. Why Python for Math? Its readability allows for a 1:1 mapping with LaTeX pseudocode.
  2. Why the 5GB WSL limit? To demonstrate high-performance engineering on constrained hardware.
  3. Is this repository beginner-friendly? Yes, starting from Section 01 focuses on basic number theory.
  4. How are transcendental numbers handled? Using high-precision iterative series (Taylor/Newton).
  5. Does this use NumPy? No. This is a "Zero-Bloat" project relying solely on the Standard Library.
  6. Can I use this for academic study? Yes, the [M] implementations are designed for classroom reference.
  7. How do I contribute? Open a PR with an optimized [E] solution for any existing project.
  8. Why include the LaTeX source? Transparency. We believe the documentation is as important as the code.
  9. What is Horner's Method? It's our preferred project (70+) for efficient polynomial evaluation.
  10. Is the code PEP8 compliant? Yes, all [E] and [M] solutions follow strict styling rules.
  11. Will more sections be added? Project-81 is the core; however, an "Advanced Calculus" set is in research.

🤝 Support & Sponsors

Help sustain this mathematical odyssey!

  • Support: If you found this useful, star the repo! ⭐

👤 The Architect

I am a technical lead focused on mathematical clarity and computational efficiency. LinkedIn


"Dedication over time shapes raw curiosity into technical clarity."
Project-81 Milestone Series | 2026

Typing SVG

About

This 9-week roadmap uses 81 projects to turn math into code. Covering Number Theory, Strings, and Data Structures, it builds logic through disciplined practice. It's a journey from simple formulas to complex reasoning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages