From 332acf51504577771c6ff73954e6c81cbe81f005 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 15 Mar 2026 01:42:42 +0000 Subject: [PATCH] Update README.md with comprehensive project documentation - Added Usage section with examples - Added License section (MIT) - Documented Trees/buildTreeTest.py - Updated Table of Contents - Ensured consistent formatting across the file Co-authored-by: ppant <149585+ppant@users.noreply.github.com> --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 790acf4..1272f85 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ This repository contains a collection of common programming problems and data st - [Sorting](#sorting) - [Graph Algorithms](#graph-algorithms) - [Error Handling](#error-handling) +- [Usage](#usage) +- [License](#license) - [Acknowledgments](#acknowledgments) --- @@ -145,6 +147,10 @@ Trim a BST so all nodes are within a given range `[min, max]`. Implementing a tree using classes and references. - **File**: `Trees/TreeRepresentationWithNodesReferences.py` +### Tree Representation (List of Lists) +Implementing a tree using a list of lists. +- **File**: `Trees/buildTreeTest.py` + ### Tree Level Order Print Print a binary tree in level order. - **File**: `Trees/TreeLevelOrderPrintImple.py` @@ -204,6 +210,21 @@ Demonstrates `try-except-else-finally` blocks and user input validation. --- +## Usage +Most of the scripts are standalone and can be executed directly using Python 3. + +Example: +```bash +python3 Arrays/Anagram_Check_Sorted_Sol.py +``` + +--- + +## License +This project is licensed under the MIT License. + +--- + ## Acknowledgments - [Python for Data Structures, Algorithms, and Interviews on Udemy](https://www.udemy.com) - [Problem Solving with Algorithms and Data Structures using Python](http://interactivepython.org/runestone/static/pythonds/index.html)