{"full_name":"trekhleb/javascript-algorithms","owner":"trekhleb","name":"javascript-algorithms","url":"https://github.com/trekhleb/javascript-algorithms","description":"📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings","homepage":"","topics":[],"language":"JavaScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/3000285?u=1e62782f227030b78b7aa78cbbcab5f8a24e658a&v=4","created_at":"2018-03-24T07:47:04Z","pushed_at":"2026-07-26T02:43:08Z","metrics":{"stars":196724,"forks":30984,"watchers":4177,"issues":385,"prs":896,"releases":0,"issues_open":null,"issues_closed":null,"prs_open":null,"prs_closed":null,"prs_merged":null,"discussions":0},"growth":{"day":{"stars":2,"forks":1,"base_day":"2026-11-09"},"week":{"stars":4,"forks":-11,"base_day":"2026-11-03"},"month":{"stars":59,"forks":-22,"base_day":"2026-10-11"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-09","2026-11-10"],"stars":[196623,196632,196646,196660,196669,196678,196675,196685,196700,196710,196721,196741,196759,196769,196775,196785,196788,196792,196795,196794,196802,196814,196826,196831,196843,196850,196866,196865,196867,196869,196863,196858,196857,196653,196655,196665,196669,196671,196667,196665,196673,196679,196682,196681,196682,196685,196688,196687,196690,196696,196694,196698,196703,196701,196707,196711,196714,196713,196720,196718,196722,196724],"forks":[31035,31033,31034,31033,31034,31038,31039,31041,31040,31037,31037,31034,31031,31028,31026,31026,31026,31027,31028,31028,31026,31021,31018,31021,31023,31022,31019,31023,31020,31019,31015,31016,31011,31011,31007,31006,31026,31024,31023,31000,31002,31002,31001,31004,31004,31009,31009,30990,30991,30990,30988,30991,30995,30994,30998,30999,30995,30996,30995,31000,30983,30984],"watchers":[4219,4219,4217,4217,4216,4217,4217,4217,4217,4217,4218,4218,4218,4216,4216,4216,4216,4216,4215,4215,4215,4214,4214,4212,4212,4209,4210,4210,4210,4209,4209,4209,4207,4206,4206,4205,4204,4203,4204,4202,4201,4201,4201,4201,4198,4197,4196,4196,4192,4187,4184,4183,4183,4183,4183,4182,4182,4182,4181,4180,4177,4177],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]},"boards":{"daily_rate":198,"total":35},"same_owner":[{"full_name":"trekhleb/learn-python","name":"learn-python","boards":{}}],"issues":[{"number":1008,"title":"Factorial of a negative number does not exist","comments":18,"created_at":"2023-03-17T00:23:45Z"},{"number":89,"title":"Translate to russian","comments":13,"created_at":"2018-07-03T15:40:11Z"},{"number":990,"title":"The \"i\" of the for loop can be initialized with the value 2","comments":10,"created_at":"2023-01-31T13:24:18Z"},{"number":568,"title":"Linear Search Fix","comments":10,"created_at":"2020-10-17T14:58:41Z"},{"number":339,"title":"Cartesian product with an empty set should be an empty set","comments":9,"created_at":"2019-04-15T16:12:26Z"},{"number":196,"title":"Suggestion: ship production ready build to npm","comments":9,"created_at":"2018-09-02T08:15:42Z"},{"number":12,"title":"A* algorithm?","comments":9,"created_at":"2018-05-24T08:24:36Z"},{"number":960,"title":"Eu realmente não entendi","comments":7,"created_at":"2022-11-17T20:31:07Z"}],"discussions":[],"latest_release":null,"readme":true,"readme_zh":true,"news":[{"title":"Algorithms and Data Structures Explained and Implemented in JavaScript","url":"https://github.com/trekhleb/javascript-algorithms","hn":"https://news.ycombinator.com/item?id=17134831","source":"Hacker News","lang":"en","date":"2018-05-23","points":483,"comments":43},{"title":"Classic Algorithms Implemented in JavaScript","url":"https://github.com/trekhleb/javascript-algorithms/blob/master/README.md","hn":"https://news.ycombinator.com/item?id=17573431","source":"Hacker News","lang":"en","date":"2018-07-20","points":249,"comments":34},{"title":"JavaScript-algorithms: Algorithms and data structures implemented in JavaScript","url":"https://github.com/trekhleb/javascript-algorithms","hn":"https://news.ycombinator.com/item?id=35479378","source":"Hacker News","lang":"en","date":"2023-04-07","points":183,"comments":76},{"title":"JavaScript Algorithms and Data Structures (2018)","url":"https://github.com/trekhleb/javascript-algorithms","hn":"https://news.ycombinator.com/item?id=28933618","source":"Hacker News","lang":"en","date":"2021-10-20","points":115,"comments":30},{"title":"Binary representation of floating-point numbers","url":"https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/binary-floating-point","hn":"https://news.ycombinator.com/item?id=27939495","source":"Hacker News","lang":"en","date":"2021-07-24","points":49,"comments":18},{"title":"JavaScript Algorithms and Data Structures (examples and explanations of each)","url":"https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/linked-list","hn":"https://news.ycombinator.com/item?id=25997693","source":"Hacker News","lang":"en","date":"2021-02-02","points":48,"comments":5},{"title":"Lots of algorithms and data structures implemented in JavaScript","url":"https://github.com/trekhleb/javascript-algorithms#readme","hn":"https://news.ycombinator.com/item?id=17156565","source":"Hacker News","lang":"en","date":"2018-05-25","points":5,"comments":0},{"title":"JavaScript Algorithms and Data Structures","url":"https://github.com/trekhleb/javascript-algorithms","hn":"https://news.ycombinator.com/item?id=21778356","source":"Hacker News","lang":"en","date":"2019-12-13","points":3,"comments":0},{"title":"15 Most Popular GitHub Repos for Developers in 2026","url":"https://news.google.com/rss/articles/CBMic0FVX3lxTFBnRkZ5N1FnOHk2MnBaZUN6SkZMT1o0U2wxeG9kS3B6UGRvZ3ZUcEZPLTNyQkFPemw4cWhHbGRtal85RjcwTzFkckZJMTk5X0ctMlZRcHVyMlFSMWJFUGN0aHpGNGZCVEpLQkljeHU1bHhTWmc?oc=5","source":"Hostinger","lang":"en","date":"2026-09-18"},{"title":"七个最佳 GitHub 代码库，让你成为更好的 JavaScript 程序员","url":"https://news.google.com/rss/articles/CBMiZ0FVX3lxTE5tcFBLc241SFVvOUdZeS1keGdmdjF2d3NlaUdNOTF5dDFZeVBDOGJLN3RnbUstLUY2cXZ3ZUhDVE5POXVvNURGcmkyaFNYY3RLQktaUDROakJvS3c2Q29CalFVRDFCUGs?oc=5","source":"CSDN博客","lang":"zh","date":"2022-11-29"},{"title":"强烈推荐33个 GitHub 前端学习资源","url":"https://news.google.com/rss/articles/CBMiVkFVX3lxTE5BSXRxRHg1cHhNQXh4Tk1kVEN5N3RXR2ozTDJfOXpXUkJQdjRMTUZRLWlobEhmWm5vRm9UMGdiUWdOZkJNcjBvYUtMM0EwUHM5aWxYMUhn?oc=5","source":"yeeyi","lang":"zh","date":"2022-11-19"},{"title":"Best GitHub Learning Repositories for Developers","url":"https://news.google.com/rss/articles/CBMikgFBVV95cUxQS2lwRm02ajNRVUZPUjU3ZVF2NVQwREVxRVZGcFZzQW85QTE5T3VZN3FLYngzSnVxV1FvY3Itai1uZWZSSzlPdV90QWJRbURsNFFfa3V3STBWSmVtQ2dsOVlqYlU2a0xkNzc2aFdMQUY2S0tWSkRnYi1pX2RON0UyY2ZYWlA1c0FRLUU1b0VEMDZyUQ?oc=5","source":"analyticsindiamag.com","lang":"en","date":"2022-03-15"},{"title":"Celebrating amazing open source innovation from Ukraine","url":"https://news.google.com/rss/articles/CBMifEFVX3lxTE5PVTRONVRKQXZfVlRZQWY3bS0zblRmVWlsXzR6ZWhvZ2RvdUk2dU9taWhwWW5KS2JSUVZqeGgwSmYyUmduY3k1Y3IzT1N3SXZIWWxfWHZrSHIyTHdjWWRXMDNsVnd5T0U0dlhzTHF6OVRheFlINlN5MWZobnE?oc=5","source":"Snyk","lang":"en","date":"2022-03-08"},{"title":"How to Clone a GitHub Repository","url":"https://news.google.com/rss/articles/CBMidEFVX3lxTE1DTGNjdFpPRUhKcmxvVy1LZV91UWpabVNJdWxqWG5IM3U4ZFNBQnludUJJVnhaZW1yUklNdU9wOGRlVTQ1WDRjb2ZiQ2NpdkRDRk8tX3VfUTZsUkVQeTJZa01jd0lDX0ZVc181Y2pNcDRXbEpI?oc=5","source":"How-To Geek","lang":"en","date":"2020-01-09"},{"title":"The State of the Octoverse: new open source projects in 2018","url":"https://news.google.com/rss/articles/CBMieEFVX3lxTE9mNEVxUlU1bWJ2ZXhuX09VTWJZdFZtWW0wNk4zdnFFLWY4MC1sZzhSaFM4QkZVd0xvTkxkSG4yVHFHcVk0OWRROHNnemFHMjVMdzlDZkd3SXVTWldHbkFiWlRpT1VtaWRaaERQYmtyNXA3T0R2Qlk2Sg?oc=5","source":"The GitHub Blog","lang":"en","date":"2018-12-13"}],"stale":false,"snapshot_at":"2026-11-10T09:35:25Z","history_start":"2026-09-06"}