Skip to content

Conversation

@Aspirant200715
Copy link

πŸ“˜ Overview

This PR enhances the repository with two major educational and resource-focused updates:
Graph Data Structure Implementation (Python) β€” a complete, well-documented Python file covering all key graph algorithms.
Expanded β€œThird-Party Libraries” and β€œAdditional Resources” Sections β€” with official links, categorized tools, and learning materials for developers.

🧠 1. Added: Graph Data Structure & Algorithms

File Added: graph_algorithms.py

Includes:

Graph representation using adjacency lists
Traversal algorithms: BFS and DFS
Topological Sort (DFS & Kahn’s algorithm)
Shortest path algorithms: Dijkstra, Bellman-Ford, Floyd-Warshall
Minimum Spanning Trees: Kruskal’s and Prim’s algorithms
Cycle Detection: for both directed and undirected graphs
Connected Components detection

Highlights:

πŸ“š Every algorithm is fully explained with detailed comments
πŸ§ͺ Self-contained and runnable example section included
πŸ’‘ Perfect for beginners learning graphs and contributors exploring data structures

🧩 2. Expanded: Third-Party Libraries & Resources

Updated Section: β€œ6. Third Party Libraries”
Added detailed subsections for:
Web Development: Flask, Django
Data Science: NumPy, Pandas
Data Visualization: Matplotlib
Machine Learning: Scikit-learn, TensorFlow, PyTorch
HTTP Requests: Requests
Image Processing: Pillow

Also Expanded:

🧭 Official Tutorials & Guides
πŸŽ₯ Video Learning Resources (Corey Schafer, PyCon, Talk Python To Me)
πŸ“„ Cheat Sheets & Reference Docs

Purpose:
To help learners easily discover, explore, and use core third-party libraries and reliable Python resources in one place.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these resources but I prefer if we don't add them this time around. If you'd like, create a separate PR with one or two new entries and I can look into them

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the intrinsic content, but it's using print statements instead of assert statements. Can we tweak it so that it tries asserting instead of printing things? Furthermore, can we add type hinting to this Python module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants