Advent of Code 2023 Day 1

AOC-2023-1 Trebuchet?! I have tried solving advent of code 2023 challenges in haskell, and this was my attempt to solve day 1. In this problem we have to find the first and last digits in a line and sum them. problem link: https://adventofcode.com/2023/day/1 Part 1 First part is very simple as it is just a parsing problem, and we can use my favourite library for parsing: parsec to solve it....

February 26, 2024 · 2 min · Upendra Upadhyay

Nim Clojure Similarity

Hello world, I am Upendra Upadhyay. This is my first post and I have been trying to write for a long time. I think there is no better time than now. I have been trying to learn Haskell for past 3 years in my free time, but was never able to code anything useful; mostly did fibonacci, sieve of eratosthenes, and sudoku - which was taking lot of memory and time because of bad pruning....

November 26, 2022 · 2 min · Upendra Upadhyay