{"id":21711603,"url":"https://github.com/heliolj/grokking-algorithms-implementation","last_synced_at":"2025-03-20T18:20:43.700Z","repository":{"id":256416477,"uuid":"855159952","full_name":"helioLJ/grokking-algorithms-implementation","owner":"helioLJ","description":"This repository contains implementations of algorithms from the book \"Grokking Algorithms\" by Aditya Bhargava, along with corresponding unit tests.","archived":false,"fork":false,"pushed_at":"2024-09-18T16:46:20.000Z","size":273,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T16:44:19.979Z","etag":null,"topics":["grokking-algorithms"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helioLJ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-10T12:15:59.000Z","updated_at":"2024-09-18T20:31:12.000Z","dependencies_parsed_at":"2024-09-10T16:21:56.227Z","dependency_job_id":"1c981d9c-0c3f-4f9f-a407-3b30034c9849","html_url":"https://github.com/helioLJ/grokking-algorithms-implementation","commit_stats":null,"previous_names":["heliolj/grokking-algorithms-implementation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helioLJ%2Fgrokking-algorithms-implementation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helioLJ%2Fgrokking-algorithms-implementation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helioLJ%2Fgrokking-algorithms-implementation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helioLJ%2Fgrokking-algorithms-implementation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helioLJ","download_url":"https://codeload.github.com/helioLJ/grokking-algorithms-implementation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244666588,"owners_count":20490288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grokking-algorithms"],"created_at":"2024-11-25T23:28:11.138Z","updated_at":"2025-03-20T18:20:43.676Z","avatar_url":"https://github.com/helioLJ.png","language":"Python","readme":"# Grokking Algorithms Implementation\n\nThis repository contains implementations of algorithms from the book \"Grokking Algorithms\" by Aditya Bhargava, along with corresponding unit tests.\n\n\n## Getting Started\n\n1. Install uv (if not already installed):\n   ```\n   curl -LsSf https://astral.sh/uv/install.sh | sh\n   ```\n\n2. Clone the repository:\n   ```\n   git clone https://github.com/helioLJ/grokking-algorithms-implementation.git\n   cd grokking-algorithms-implementation\n   ```\n\n3. Install project dependencies:\n   ```\n   uv sync\n   ```\n\n## Implementing Algorithms\n\nIf you want to generate template files from the existing implementations:\n\n1. Ensure you have committed any changes you want to keep.\n2. Run the template generation script:\n   ```\n   uv run python scripts/generate_templates.py\n   ```\n\n## Running Tests\n\nTo run all tests:\n```\nuv run pytest\n```\n\n![Pytest](grokking-algorithms-pytest.gif)\nTo run tests for a specific chapter, navigate to the chapter directory and run:\n```python\nuv run pytest tests/test_chapterX\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a new branch for your feature\n3. Implement your changes and add tests if necessary\n4. Submit a pull request\n\n## Acknowledgments\n\n- Aditya Bhargava for the book \"Grokking Algorithms\"\n- All contributors to this project","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheliolj%2Fgrokking-algorithms-implementation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheliolj%2Fgrokking-algorithms-implementation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheliolj%2Fgrokking-algorithms-implementation/lists"}