{"id":22264249,"url":"https://github.com/hozlucas28/adventjs-solutions-2024","last_synced_at":"2026-02-28T10:06:16.224Z","repository":{"id":265959709,"uuid":"896963533","full_name":"hozlucas28/AdventJS-Solutions-2024","owner":"hozlucas28","description":"Repository with the solutions of AdventJS (2024) programming challenges by @midudev.","archived":false,"fork":false,"pushed_at":"2025-01-01T01:31:14.000Z","size":6547,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"Master","last_synced_at":"2025-04-06T10:51:59.651Z","etag":null,"topics":["2024","adventjs","challenges","husky","javascript","jest","midudev","mit-license","prettier","testing","typescript","unit-testing"],"latest_commit_sha":null,"homepage":"https://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":"2024-12-01T18:23:16.000Z","updated_at":"2025-01-01T01:31:18.000Z","dependencies_parsed_at":"2024-12-16T17:34:45.635Z","dependency_job_id":"ae940098-2b54-49d4-af58-cc12ddad3b53","html_url":"https://github.com/hozlucas28/AdventJS-Solutions-2024","commit_stats":null,"previous_names":["hozlucas28/adventjs-solutions-2024"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hozlucas28/AdventJS-Solutions-2024","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hozlucas28","download_url":"https://codeload.github.com/hozlucas28/AdventJS-Solutions-2024/tar.gz/refs/heads/Master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hozlucas28%2FAdventJS-Solutions-2024/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260323564,"owners_count":22992026,"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":["2024","adventjs","challenges","husky","javascript","jest","midudev","mit-license","prettier","testing","typescript","unit-testing"],"created_at":"2024-12-03T10:08:17.446Z","updated_at":"2026-02-28T10:06:16.214Z","avatar_url":"https://github.com/hozlucas28.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    AdventJS Solutions [2024] 🎅🎄\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003eRepository of \u003ca href=\"https://2024.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://2024.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 Python, 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 in Python, JavaScript, and 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 (only available for TypeScript files).\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 | Stars earned |        Description         |\n| :-------: | ----------------------------------------------------------------------------------------------------- | :--------: | :----------: | :------------------------: |\n|    01     | Return an array of unique gifts sorted in ascending order                                             |     🟢     |    **5**     | [Show](./src/01-challenge) |\n|    02     | Return a string with the names of good child                                                          |     🟢     |    **5**     | [Show](./src/02-challenge) |\n|    03     | Return an object with the organized toys                                                              |     🟢     |    **5**     | [Show](./src/03-challenge) |\n|    04     | Construct a christmas tree with the desired height                                                    |     🟠     |    **5**     | [Show](./src/04-challenge) |\n|    05     | Return a list with the available pair of all boots with the same size (having a left and a right one) |     🟢     |    **5**     | [Show](./src/05-challenge) |\n|    06     | Check if the present is inside the box                                                                |     🟠     |    **5**     | [Show](./src/06-challenge) |\n|    07     | Reorder the packages changed in order to fix the Grinch evil                                          |     🟠     |    **5**     | [Show](./src/07-challenge) |\n|    08     | Get the progress of each reindeer in the snow track                                                   |     🟢     |    **5**     | [Show](./src/08-challenge) |\n|    09     | Return the train action in the next step inside or out the board                                      |     🟠     |    **5**     | [Show](./src/09-challenge) |\n|    10     | Create a compiler of instructions                                                                     |     🟠     |    **5**     | [Show](./src/10-challenge) |\n|    11     | Decode file names coded by the Grinch                                                                 |     🟢     |    **5**     | [Show](./src/11-challenge) |\n|    12     | Calculate the total price of the tree by ornaments                                                    |     🟢     |    **5**     | [Show](./src/12-challenge) |\n|    13     | Check if the robot (after executing a series of movements) return to his original position            |     🔴     |    **5**     | [Show](./src/13-challenge) |\n|    14     | Get the minimum number of moves needed for all the reindeer to end up in a stable                     |     🟢     |    **5**     | [Show](./src/14-challenge) |\n|    15     | Create a table based on an array with objects                                                         |     🟢     |    **5**     | [Show](./src/15-challenge) |\n|    16     | Remove all adjacent snow piles from the path                                                          |     🟢     |    **5**     | [Show](./src/16-challenge) |\n|    17     | Get how many explosive coal bombs are in the adjacent positions                                       |     🟠     |    **5**     | [Show](./src/17-challenge) |\n|    18     | Get the name and address of the child inside the misformatted diary                                   |     🔴     |    **5**     | [Show](./src/18-challenge) |\n|    19     | Draw a tower with the minimum number of boxes for a specific weight                                   |     🔴     |    **5**     | [Show](./src/19-challenge) |\n|    20     | Return an object with the missing and extra gifts                                                     |     🟢     |    **5**     | [Show](./src/20-challenge) |\n|    21     | Return the height of the binary tree                                                                  |     🟢     |    **5**     | [Show](./src/21-challenge) |\n|    22     | Get all possible combinations of toys                                                                 |     🟠     |    **5**     | [Show](./src/22-challenge) |\n|    23     | Find missing numbers                                                                                  |     🟢     |    **5**     | [Show](./src/23-challenge) |\n|    24     | Check if the trees are synchronized                                                                   |     🟠     |    **5**     | [Show](./src/24-challenge) |\n|    25     | Return the value of the program after executing instructions sequence                                 |     🟠     |    **5**     | [Show](./src/25-challenge) |\n|    26     | Measure the elves productivity                                                                        |     🟢     |    **5**     | [Show](./src/26-challenge) |\n| **Total** |                                                                                                       |   **/**    |   **130**    |           **/**            |\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-2023\" target=\"_blank\"\u003eSolutions of the AdventJS - 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/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://2024.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-2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhozlucas28%2Fadventjs-solutions-2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhozlucas28%2Fadventjs-solutions-2024/lists"}