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)