{"id":22774954,"url":"https://github.com/hozlucas28/adventjs-solutions-2023","last_synced_at":"2026-04-28T16:32:22.562Z","repository":{"id":210502911,"uuid":"726681501","full_name":"hozlucas28/AdventJS-Solutions-2023","owner":"hozlucas28","description":"Repository with the solutions of AdventJS (2023) programming challenges by  @midudev.","archived":false,"fork":false,"pushed_at":"2025-01-01T01:31:14.000Z","size":3028,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"Master","last_synced_at":"2025-02-05T14:46:21.454Z","etag":null,"topics":["2023","adventjs","challenges","husky","javascript","jest","midudev","mit-license","prettier","testing","typescript","unit-testing"],"latest_commit_sha":null,"homepage":"https://2023.adventjs.dev","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hozlucas28.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-03T03:57:11.000Z","updated_at":"2025-01-01T01:31:17.000Z","dependencies_parsed_at":"2025-01-01T02:23:04.418Z","dependency_job_id":"be06b7eb-a137-4e20-96c0-bd1ec9fcdc7f","html_url":"https://github.com/hozlucas28/AdventJS-Solutions-2023","commit_stats":{"total_commits":44,"total_committers":1,"mean_commits":44.0,"dds":0.0,"last_synced_commit":"5ae940845e594a848f46f657081dca2fad17e4b1"},"previous_names":["hozlucas28/adventjs-solutions-2023"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hozlucas28","download_url":"https://codeload.github.com/hozlucas28/AdventJS-Solutions-2023/tar.gz/refs/heads/Master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246320201,"owners_count":20758410,"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":["2023","adventjs","challenges","husky","javascript","jest","midudev","mit-license","prettier","testing","typescript","unit-testing"],"created_at":"2024-12-11T18:18:24.860Z","updated_at":"2026-04-28T16:32:22.555Z","avatar_url":"https://github.com/hozlucas28.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    AdventJS Solutions [2023] 🎅🎄\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003eRepository of \u003ca href=\"https://2023.adventjs.dev/\" target=\"_blank\"\u003eAdventJS\u003ca\u003e programming challenges by \u003ca href=\"https://www.linkedin.com/in/midudev/\" target=\"_blank\"\u003eMidudev\u003c/a\u003e.\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#summary\"\u003eSummary\u003c/a\u003e •\n    \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n    \u003ca href=\"#challenges\"\u003eChallenges\u003c/a\u003e •\n    \u003ca href=\"#related\"\u003eRelated\u003c/a\u003e •\n    \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e •\n    \u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e •\n    \u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./.github/adventjs-logo.png\" width=\"625\"\u003e\n\u003c/p\u003e\n\n\u003ch2\u003e\n    Summary\n\u003c/h2\u003e\n\u003cp\u003e\n    This repository serves as a housing solutions to programming challenges of \u003ca href=\"https://2023.adventjs.dev/\" target=\"_blank\"\u003eAdventJS\u003ca\u003e. AdventJS, a project developed by \u003ca href=\"https://www.linkedin.com/in/midudev/\" target=\"_blank\"\u003eMidudev\u003c/a\u003e, offers a platform for developers to improve JavaScript or TypeScript skills, through a series of daily challenges spanning 25 days. The challenge begins on December 1st and culminates on December 25th.\n\u003c/p\u003e\n\n\u003e This repository contains all the solutions only in TypeScript.\n\n\u003ch2\u003e\n    Installation\n\u003c/h2\u003e\n\u003col\u003e\n    \u003cli\u003eClone the repository.\u003c/li\u003e\n    \u003cli\u003eInstall the latest version of \u003ca href=\"https://nodejs.org/es/\" target=\"_blank\"\u003eNode.js\u003ca\u003e.\u003c/li\u003e\n    \u003cli\u003eNavigate to the directory where you cloned the repository with your favorite CLI.\u003c/li\u003e\n    \u003cli\u003eRun \u003ccode\u003enpm install\u003c/code\u003e in your CLI to install all necessary packages.\u003c/li\u003e\n    \u003cli\u003eFinally, run \u003ccode\u003enpm test\u003c/code\u003e in your CLI to execute all challenges/tests.\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003e **Note:** If you want to run a specific challenge/test, execute `npm run test:challenge\u003cnumber\u003e`.\n\n\u003ch2\u003e\n    Challenges\n\u003c/h2\u003e\n\n|     #     | Challenge                                                                                                                                | Difficulty | Points earned |        Description         |\n| :-------: | ---------------------------------------------------------------------------------------------------------------------------------------- | :--------: | :-----------: | :------------------------: |\n|    01     | Find the first ID number that has been repeated                                                                                          |     🟢     |    **220**    | [Show](./src/01-challenge) |\n|    02     | Return a list of craftable gifts                                                                                                         |     🟢     |    **280**    | [Show](./src/02-challenge) |\n|    03     | Return the first extra step that has been added or removed in the manufacturing chain                                                    |     🟢     |    **360**    | [Show](./src/03-challenge) |\n|    04     | Take a string and reverse the characters inside each pair of parentheses and remove them                                                 |     🟠     |    **270**    | [Show](./src/04-challenge) |\n|    05     | Return an array simulating a sled movement                                                                                               |     🟠     |    **160**    | [Show](./src/05-challenge) |\n|    06     | Return the maximum distance that the reindeer can travel in any direction                                                                |     🟢     |    **290**    | [Show](./src/06-challenge) |\n|    07     | Generate a drawing of a 3D gift                                                                                                          |     🟢     |    **210**    | [Show](./src/07-challenge) |\n|    08     | Take a string of gifts as an argument and return a string representing the warehouse                                                     |     🟠     |    **250**    | [Show](./src/08-challenge) |\n|    09     | Return the minimum number of lights that need to be changed for the colors to alternate                                                  |     🟢     |    **360**    | [Show](./src/09-challenge) |\n|    10     | Create a customized Christmas tree                                                                                                       |     🟢     |    **250**    | [Show](./src/10-challenge) |\n|    11     | Return indexes of a palindrome word                                                                                                      |     🟠     |    **25**     | [Show](./src/11-challenge) |\n|    12     | Detect if one letter is a copy of another                                                                                                |     🟠     |    **210**    | [Show](./src/12-challenge) |\n|    13     | Return the time lack or left in order to finish the deliveries                                                                           |     🟢     |    **230**    | [Show](./src/13-challenge) |\n|    14     | Determine the maximum number of gifts Santa can deliver in one night                                                                     |     🟠     |    **290**    | [Show](./src/14-challenge) |\n|    15     | Given a warehouse and the movements, return an array with the robot's final position                                                     |     🟠     |    **40**     | [Show](./src/15-challenge) |\n|    16     | Transform an array into an object                                                                                                        |     🟢     |    **160**    | [Show](./src/16-challenge) |\n|    17     | Merge overlapping intervals and returns an array of sorted intervals                                                                     |     🟢     |    **140**    | [Show](./src/17-challenge) |\n|    18     | Given a time, write it as a digital clock of an array of strings arrays                                                                  |     🔴     |    **70**     | [Show](./src/18-challenge) |\n|    19     | Return a matrix with the sabotaged toys in the adjacent cells                                                                            |     🟠     |    **25**     | [Show](./src/19-challenge) |\n|    20     | Given a matrix of numbers, return another matrix where each element is the average of its original value and the values of its neighbors |     🔴     |    **25**     | [Show](./src/20-challenge) |\n|    21     | Find the longest segment of the string where the number of 0s and 1s is equal                                                            |     🟠     |    **200**    | [Show](./src/21-challenge) |\n|    22     | Translate the Elves language instructions                                                                                                |     🟢     |    **150**    | [Show](./src/22-challenge) |\n|    23     | Group dishes by ingredients                                                                                                              |     🟢     |    **130**    | [Show](./src/23-challenge) |\n|    24     | Return all the possible sequences of jumps, sorted from least to most                                                                    |     🟠     |    **30**     | [Show](./src/24-challenge) |\n|    25     | Return the number of moves that Santa must do to deliver all the gifts                                                                   |     🟠     |    **110**    | [Show](./src/25-challenge) |\n| **Total** |                                                                                                                                          |   **/**    |   **4485**    |           **/**            |\n\n\u003ch2\u003e\n    Related\n\u003c/h2\u003e\n\u003cp\u003e\n    \u003cul\u003e\n        \u003cli\u003e\n            \u003ca href=\"https://github.com/hozlucas28/AdventJS-Solutions-2024\" target=\"_blank\"\u003eSolutions of the AdventJS - 2024\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n    \u003cul\u003e\n        \u003cli\u003e\n            \u003ca href=\"https://github.com/hozlucas28/AdventJS-Solutions-2025\" target=\"_blank\"\u003eSolutions of the AdventJS - 2025\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n    \u003cul\u003e\n        \u003cli\u003e\n            \u003ca href=\"https://github.com/hozlucas28/AdventTS-Solutions-2023\" target=\"_blank\"\u003eSolutions of the Advent of TypeScript - 2023\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n    \u003cul\u003e\n        \u003cli\u003e\n            \u003ca href=\"https://github.com/hozlucas28/AdventTS-Solutions-2024\" target=\"_blank\"\u003eSolutions of the Advent of TypeScript - 2024\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n    \u003cul\u003e\n        \u003cli\u003e\n            \u003ca href=\"https://github.com/hozlucas28/Halloween-Dev-Solutions-2025\" target=\"_blank\"\u003eSolutions of the Halloween-dev - 2025\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n    \u003cul\u003e\n        \u003cli\u003e\n            \u003ca href=\"https://github.com/hozlucas28/HackerRank\" target=\"_blank\"\u003eSolutions of HackerRank challenges\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/p\u003e\n\n\u003ch2\u003e\n    License\n\u003c/h2\u003e\n\u003cp\u003e\n    This repository is under \u003ca href=\"./LICENSE\" target=\"_blank\"\u003eMIT license\u003c/a\u003e, if you want to see what you are allowed to do with the content of this repository, please visit \u003ca href=\"https://choosealicense.com/licenses/\" target=\"_blank\"\u003echoosealicense.com\u003c/a\u003e for more information.\n\u003c/p\u003e\n\n\u003ch2\u003e\n    Acknowledgments\n\u003c/h2\u003e\n\u003cp\u003e\n    Thanks to \u003ca href=\"https://www.linkedin.com/in/midudev/\" target=\"_blank\"\u003eMiguel Ángel Durán\u003c/a\u003e to develop \u003ca href=\"https://2023.adventjs.dev/\" target=\"_blank\"\u003eAdventJS\u003ca\u003e.\n\u003c/p\u003e\n\n\u003ch2\u003e\n    Contact\n\u003c/h1\u003e\n\u003cp\u003e\n    If you want to contact me, please see my \u003ca href=\"https://github.com/hozlucas28\" target=\"_blank\"\u003esocials medias\u003c/a\u003e in my GitHub profile.\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhozlucas28%2Fadventjs-solutions-2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhozlucas28%2Fadventjs-solutions-2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhozlucas28%2Fadventjs-solutions-2023/lists"}