{"id":16677287,"url":"https://github.com/bee-san/algorithms","last_synced_at":"2025-12-27T13:20:15.463Z","repository":{"id":56537301,"uuid":"308328964","full_name":"bee-san/Algorithms","owner":"bee-san","description":"Learn DS\u0026A through leetcode problems","archived":false,"fork":false,"pushed_at":"2020-11-23T13:08:44.000Z","size":61291,"stargazers_count":34,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T23:47:58.238Z","etag":null,"topics":["datastructures","expert","interview","knowledge","leetcode"],"latest_commit_sha":null,"homepage":"https://beesec.gitbook.io/algorithms/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bee-san.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-29T12:56:55.000Z","updated_at":"2025-01-05T11:49:15.000Z","dependencies_parsed_at":"2022-08-15T20:31:31.618Z","dependency_job_id":null,"html_url":"https://github.com/bee-san/Algorithms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bee-san%2FAlgorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bee-san%2FAlgorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bee-san%2FAlgorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bee-san%2FAlgorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bee-san","download_url":"https://codeload.github.com/bee-san/Algorithms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243352035,"owners_count":20276916,"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":["datastructures","expert","interview","knowledge","leetcode"],"created_at":"2024-10-12T13:25:53.889Z","updated_at":"2025-12-27T13:20:15.418Z","avatar_url":"https://github.com/bee-san.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction to Data Structures \u0026 Algorithms with Leetcode\n\n**You can read this here** [https://beesec.gitbook.io/algorithms/](https://beesec.gitbook.io/algorithms/)\n\n{% embed url=\"https://beesec.gitbook.io/algorithms/\" %}\n\n\n\nGitHub repo is here: [https://github.com/bee-san/Algorithms](https://github.com/bee-san/Algorithms)\n\nWelcome to Bee's guide to datastructures and algorithms! This is based on [https://github.com/guyinatuxedo/nightmare](https://github.com/guyinatuxedo/nightmare)\n\n**What you need to know**\n\n* Learn data structures \u0026 algorithms \\(DS\u0026A\\) using leetcode\n* Only learn DS\u0026A that is used in real world\n* Learn _why_ it works, not just how.\n* Sorted by how likely it is to show up in an interview **and** how vital that knowledge is to understanding other DS\u0026A.\n* The problems are mostly medium - hards, I try to not include easy problems unless they are the first problem in a category.\n\nThis is a course on datastructures and algorithms based around leetcode problems. Learn DS\u0026A via problems, with lengthy explanations. \n\nThis guide is ordered by how likely it is for that datastructure / algorithm to show up in an interview **and** how vital that knowledge is to understanding other data structures / algorithms.\n\nEach section will lead with a leetcode style problem, and end with problems you can do on your own. This way, you only ever learn what is relevant. \n\nAll code will be in Python due to how easy it is to read. If you want to contribute more code, feel free to. This is on GitHub after all!\n\nIf you're okay with Python, but want to learn the advanced stuff check out my other book [https://github.com/bee-san/Python-Zero-to-Hero](https://github.com/bee-san/Python-Zero-to-Hero)\n\nI also have my own blog, [https://skerritt.blog](https://skerritt.blog) that you may enjoy.\n\n## Resources\n\nYou should roughly know these things. I have linked to some of my own resources for you to learn them:\n\n* [Python](https://github.com/bee-san/Python-Zero-to-Hero) \\(Not an expert, you can use other languages or contribute more languages\\)\n* [Big O notation](https://skerritt.blog/big-o/) \\(not an expert, just the basics\\)\n\nFor other resources you should see:\n\n* CTCI\n* MIT 6.006\n\n## How to contribute\n\n* Explain things more easily\n* Look through my Not Done Yet section and complete / improve them!\n\n## Why Leetcode and not X, Y, Z platform?\n\n1. Everyone knows Leetcode\n2. Leetcode discussion board is popping, and there's many Youtube videos about each platform\n3. AlgoExpert is not paying me to tell you that the scariest thing in the world is not knowing how to invert a binary tree in a coding interview _yet_.\n4. HackerRank's problems are too wordy for me to copy \u0026 paste.\n5. Companies use Leetcode\n6. Honestly if any other coding company came along and paid me to advertise their product I would it's just I used Leetcode. **Deciding on what the best platform to use is another form of procrastination.** I just picked the first one I saw and went with it.\n\n## Important Notes\n\n* Not all solutions are made by me \\(bee-san\\). This book is 100% open source and sometimes people on Leetcode forums have way bettter solutions than I do.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbee-san%2Falgorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbee-san%2Falgorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbee-san%2Falgorithms/lists"}