Giter VIP home page Giter VIP logo

advent-of-code-2020's Introduction

Advent of Code 2020

Node.js only!

  • Day 1 Complete: 12/1 8:15am EST
  • Day 2 Complete: 12/2 8:30am EST
  • Day 3 Complete: 12/3 8:30am EST
  • Day 4 Complete: 12/4 10:45am EST
  • Day 5 Complete: 12/5 1:00am EST
  • Day 6 Complete: 12/6 1:15am EST
  • Day 7 Complete: 12/7 5:45pm EST
  • Day 8 Complete: 12/8 6:00pm EST
  • Day 9 Complete: 12/9 12:45am EST
  • Day 10 Complete: 12/10 8:15am EST
  • Day 11 Complete: 12/11 5:30pm EST
  • Day 12 Complete: 12/12 12:50am EST

Some lessons and things I've learned:

  • .reduce() is great at performing operations on arrays
  • It might not be as readable, but you can add true and false as 1 and 0
  • If you want to copy an array to manipulate, be sure to create a new array (like [...array])
  • Classes and recursion can be used for nesting problems in a pinch
  • Loops in loops? Use references to determine what to break from

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.