A comprehensive collection of Python scripts designed to help you prepare for technical interviews, particularly for Online Assessments (OAs).
Pruning the grind leetcode type questions to patterns once you crack you will ready for any OA interview or just brush up on rusty concepts. Happy coding!
Clone the repository and install the required dependencies:
git clone https://github.com/your-username/oa-coding-tech-interview-prep.git
cd oa-coding-tech-interview-prep
python -m venv my_virtual_env
source my_virtual_env/bin/activate
pip install -r requirements.txt
Each script can be run independently. For example:
python multiplication_algorithms.py
- bfs.py: Demonstrates Breadth-First Search (BFS) algorithm implementation on a graph.
- dfs.py: Implements the Depth-First Search (DFS) algorithm for graph traversal.
- graph_traversal.py: Finds all possible paths between two nodes in a graph.
- shortest_path_collections_itertools.py: Implements shortest path algorithms using collections and itertools.
- min_max-heap.py: Implements min-heap and max-heap data structures and their operations.
- linked_lists.py: Implements and traverses a linked-list.
- double_linked_list.py: Implements and traverses a doubly-linked list.
- circular_linked_lists.py: Implements and traverses a circular linked list.
- dynamic_programming_memoization.py: Solves the "Unique Paths" problem using dynamic programming with memoization.
- travelling_salesman.py: Solves the Travelling Salesman Problem using dynamic programming.
- longest_palidromic_string.py: Finds the longest palindromic substring in a given string.
- text_search_algoritms.py: Implements various text search algorithms.
- multiplication_algorithms.py: Implements various multiplication algorithms.
- chat_room.py: Simulates a real-time chat room with concurrent user interactions.
- meeting_scheduler.py: Implements a concurrent meeting scheduler.
- dinning_philosophers_with_concurrency.py: Implements the dining philosophers problem.
More examples in the link in the DSA section
Comprehensive DSA Guide included here
Contributions are welcome! Please feel free to submit a Pull Request. A good place to start would be to add tests then incoporate them into our CI/CD or alternatively, write a script to run tests to run against our implementations including testing our DSA guide examples. TODO: add tests.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License.
Created with ❤️ by Eric Gitangu - Deveric. A code-blooded Software Engineer a pythonista with an array of various stack and techs. Intetests ML, CyberSecurity (MLSecOps), experience Full Stack developer 8+ years with various techs. LinkedIn https://linkedin.com/in/ericgitangu, let's connect and feel free to contribute, I will continue building on this repo and hopefully y'all too with help me prune out the grind PRs welcomed!.
For any PRs or bug reports, please use the following contact information:
- Email: [email protected]
- Website: https://developer.ericgitangu.com/