Personal repository for adventjs.dev

Overview

🎄 My adventjs commented solutions 🎄

adventjs.dev is a platform developed by where you can practice your JavaScript skills via challenges as an advent calendar. This repository contains my proposed solutions for all the challenges.

As I consider that if you are reading this you may be in the search of some help for succeeding on a challenge, all my solutions are described so you can understand what I implemented. There are some challenges with more than one solution (for example, an iterative and a functional one).

The solutions descriptions contain a title for identifying it, the calculated time complexity, an explanation step by step and, some author comments about it.

If you think you got into a better solution than the one I propose, please let me know, so I can include your solution (all the credits will be yours, of course).

Index of challenges

Day Code + Description Test
1 Contando ovejas para dormir
2 ¡Ayuda al elfo a listar los regalos!
3 El Grinch quiere fastidiar la Navidad
4 ¡Es hora de poner la navidad en casa!
5 Contando los días para los regalos
6 Rematando los exámenes finales
7 Buscando en el almacén...
8 La locura de las criptomonedas
9 Agrupando cosas automáticamente
10 La máquina de cambio
11 ¿Vale la pena la tarjeta fidelidad del cine?
12 La ruta perfecta para dejar los regalos
13 Envuelve regalos con asteriscos
14 En busca del reno perdido
15 El salto perfecto
16 Descifrando los números...
17 La locura de enviar paquetes en esta época
18 El sistema operativo de Santa Claus
19 ¿Qué deberíamos aprender en Platzi?
20 ¿Una carta de pangramas? ¡QUÉ!
21 La ruta con los regalos
22 ¿Cuantos adornos necesita el árbol?
23 ¿Puedes reconfigurar las fábricas para no parar de crear regalos?
24 -
25 -
You might also like...

LunaSec - Open Source Security Software built by Security Engineers. Scan your dependencies for Log4Shell, or add Data Tokenization to prevent data leaks. Try our live Tokenizer demo: https://app.lunasec.dev

LunaSec - Open Source Security Software built by Security Engineers. Scan your dependencies for Log4Shell, or add Data Tokenization to prevent data leaks. Try our live Tokenizer demo: https://app.lunasec.dev

Our Software We're a team of Security Engineers on a mission to make awesome Open Source Application Security tooling. It all lives in this repo. Here

Jan 7, 2023

Tool for publishing posts to mitchinson.dev from a Notion database

Notion Publish Tool - publish.mitchinson.dev A publishing API for mirroring Notion posts to mitchinson.dev Includes: Asset uploading to Cloudinary CDN

Dec 23, 2022

In game dev, generative art, and creative coding, sine is a ubiquitous function that is often used as a spring-like oscillator for a given parameter.

In game dev, generative art, and creative coding, sine is a ubiquitous function that is often used as a spring-like oscillator for a given parameter.

In game dev, generative art, and creative coding, sine is a ubiquitous function that is often used as a spring-like oscillator for a given parameter.

Feb 22, 2022

Our project for The Microsoft Azure Trial Hackathon on Dev.to

Our project for The Microsoft Azure Trial Hackathon on Dev.to

Moodflix your mood, our suggestions. 🎯 About Overview of our project We have started this project with the purpose of participating to the Microsoft

Dec 22, 2022

Praticando JavaScript no desafio da imersão dev da alura.

Praticando JavaScript no desafio da imersão dev da alura.

Super-Trunfo O desafio consiste em criar o jogo de cartas super trunfo, que coloca duas cartas diferentes com atributos para batalhar, dependendo do a

Sep 6, 2022

Projeto de Final de Módulo da Resilia, curso de Web Dev Full Stack, utilizando como base Node.js e Javascript.

🚚 API Transportadora Projeto de encerramento do módulo 4 da Resilia Educação. O objetivo é desenvolver uma API Rest de uma transportadora. 📮 Pré-req

Mar 26, 2022

Dev Care - One stop solution to take care of your health as developers

Dev Care - One stop solution to take care of your health as developers

Dev Care: One stop solution to take care of your health as developers 👩‍💻 One-stop solution to take care of your health as developers. Dev Care will

Dec 13, 2022

🏦 Defi Bank is a dapp created for ethereum 101 course of cadena.dev

🏦 Defi Bank is a dapp created for ethereum 101 course of cadena.dev

Welcome to DefiBank 👋 Defi Bank is a dapp created for ethereum 101 course of cadena.dev ✨ Demo Install npm install Usage npm run dev Tech NextJS Reac

Nov 21, 2022

Quickly create an anchor program from templates and setup anchor dev environment.

Quickly create an anchor program from templates and setup anchor dev environment.

Create Anchor App Quickly create an anchor program from templates and setup anchor dev environment. Example Installation npm i -g @create-anchor-app/c

Nov 28, 2022
Comments
  • 14	En busca del reno perdido

    14 En busca del reno perdido

    The difference between the sum of all of them and that they should add if they are all of them is the solution: Example: (1+2+3+4+5+6+7) - (1+2+3+0000+5+6+7) = 4 (The fourth is missing) 1/2*(7)(7+1)
    export default function missingReindeer(ids) { return (1/2
    (ids.length)*(ids.length +1) )- ids.reduce((a,b)=>a+b) }

    opened by crumblecoder 0
  • 11-Cine

    11-Cine

    I think you can avoid using recursion with this formula:

    export default function shouldBuyFidelity(times) { //https://www.wolframalpha.com/input/?i=250%2B%28-36+%28%283%2F4%29%5En+-+1%29%29 return times12 > 250+ (-36( Math.pow(3/4,times)-1)) }

    I really appreciate this project. Thank you very much for sharing.

    opened by crumblecoder 0
Owner
Álvaro Rivas
I'm a 22 years old geek who has no idea about what he is doing, but who loves computer science and software development. Thrive.
Álvaro Rivas
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A personal semantic search engine capable of surfacing relevant bookmarks, journal entries, notes, blogs, contacts, and more, built on an efficient document embedding algorithm and Monocle's personal search index.

Revery ?? Revery is a semantic search engine that operates on my Monocle search index. While Revery lets me search through the same database of tens o

Linus Lee 215 Dec 30, 2022
Japanese translation of vitejs.dev

Vite Docs JA Vite ドキュメントの日本語翻訳レポジトリです。現状、本レポジトリは翻訳作業用のものとして一時的に用意されています。将来的に、本レポジトリは別場所に移動される可能性があります。 貢献ガイド Vite 日本語翻訳ガイド を一読お願いします! はじめかた 本ドキュメントは V

vite 50 Dec 14, 2022
Data lake for dev.

Dev Lake What is Dev Lake? Dev Lake is the one-stop solution that integrates, analyzes, and visualizes the development data throughout the software de

Merico 78 Dec 30, 2022
Solana blockchain candy machine app boilerplate on top of Metaplex Candy Machine. NextJS, Tailwind, Anchor, SolanaLabs.React, dev/mainnet automation scripts.

NFT Candy Factory NOTE: This repo will prob only work on unix-based environments. The NFT Candy Factory project is designed to let users fork, customi

Kevin Faveri 261 Dec 30, 2022
Small (fragile) script for migrating comments from dev.to posts to Wordpress format (WXR/XML)

dev-to-wxr Small (fragile) script for migrating comments from dev.to posts to Wordpress format (WXR/XML). Useful for importing in tools like disqus. U

Fahad Hossain 2 Jan 29, 2022
Dev Guide for Archival Node & Indexer Setup

Algorand - The Undocumented Docs Dev Notes for Archival Node, Indexer Setup (and more) Archival Node FAQ [ ? ] How much space will I need? See -> http

null 5 May 23, 2022
Unstyled, dev error overlays for SolidJS

solid-error-overlay Unstyled, headless Error Overlay for SolidJS Install npm i solid-error-overlay yarn add solid-error-overlay pnpm add solid-error-o

Alexis H. Munsayac 20 Dec 29, 2022
vota.dev - Vote the best web development trends of the year

vota.dev Welcome to vota.dev! This is a work in progress! Development GitHub - Set-Up an OAuth Application Using Railway Development Install the proje

Miguel Ángel Durán 97 Dec 28, 2022