Skip to content

nafisk/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Solutions for Grokking the Coding Interview

This repository contains Python solutions for the chapter exercises found in "Grokking the Coding Interview". Each solution is accompanied by its respective tests to ensure accuracy and efficiency.

Table of Contents

Installation

To get started with these solutions, clone this repository using: git clone https://github.com/nafisk/algorithm.git

Usage

Each folder in the repository corresponds to a specific chapter from "Grokking the Coding Interview". To run a solution, navigate to the respective chapter folder and execute the Python file. For example: cd chapter1 python solution1.py

To run tests for a solution, use the following command: python -m unittest test_solution1.py

Contributing

Contributions to improve the solutions or tests are welcome. Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -am 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Note: This repository is an educational resource and is not affiliated with the "Grokking the Coding Interview" book or its publishers.

About

🧠 Exploring Computer Science Algorithms For Fun

Topics

Resources

Stars

Watchers

Forks

Languages