Skip to content

Instantly share code, notes, and snippets.

View NTaylor23's full-sized avatar

Nicholas Taylor NTaylor23

  • British Columbia, Canada
  • 07:55 (UTC -07:00)
View GitHub Profile
@NTaylor23
NTaylor23 / day09.cpp
Last active December 10, 2022 18:20
Advent Of Code 2022, Day 9, Part 1
// Let this code live forever as a monument to my shame.
#include "advent.h"
#include <complex>
#include <fstream>
#include <iostream>
#include <unordered_map>
#include <unordered_set>
#include <vector>
package FibFact;
import java.util.Arrays;
import java.util.Scanner;
public class FibFact {
public static int factorial(int n) {
if (n <= 1) return 1;