This is a repository with my solutions to the AdventJS challenges by @midudev.
# install dependencies
yarn install
# run test in watch mode
yarn test
# test ci
yarn test:run
# tests with coverage
yarn test:coverage
# tests with verbosity
yarn test:verbose
# | Challenge | Difficulty1 | My Solution |
---|---|---|---|
01 | ¡Automatizando envolver regalos de navidad! | 🟢 | wrapping |
02 | Nadie quiere hacer horas extra | 🟢 | countHours |
03 | Cuántas cajas de regalos lleva Papa Noel | 🟢 | distributeGifts |
04 | Una caja dentro de otra | 🌕 | fitsInOneBox |
05 | Optimizando viajes de Santa | 🔴 | getMaxGifts |
06 | Creando adornos navideños | 🌕 | createCube |
07 | Haciendo inventario de regalos | 🟢 | getGiftsToRefill |
08 | Necesitamos un mecánico! | 🌕 | checkPart |
09 | Las luces locas de navidad | 🟢 | countTime |
10 | El salto del trineo de Papa Noel | 🌕 | checkJump |
11 | Papa Noel es Scrum Master | 🔴 | getCompleted |
12 | Trineos eléctricos | 🌕 | selectSleigh |
13 | Backup de los archivos de Papa Noel | 🟢 | getFilesToBackup |
14 | El mejor camino | 🌕 | getOptimalPath |
15 | Decorando el arbol | 🌕 | decorateTree |
16 | Arreglando las cartas de Papá Noel | 🔴 | fixLetter |
🧩 Challenges 2023
# | Challenge | Difficulty1 | My Solution |
---|---|---|---|
01 | ¡Primer regalo repetido! | 🟢 | findFirstRepeated |
02 | Ponemos en marcha la fábrica | 🟢 | manufacture |
03 | El elfo travieso | 🟢 | findNaughtyStep |
04 | Dale la vuelta a los paréntesis | 🟡 | decode |
05 | El CyberTruck de Santa | 🟡 | cyberReindeer |
06 | Los renos a prueba | 🟢 | maxDistance |