Recursively summarize blog posts with OpenAI and Ruby on Rails
In this video, you will learn how to solve Day 21 of the Advent of Code for 2022. This one is called Monkey Math, and we will be using Ruby. We will solve an equation by iterating over our input and replacing expressions with values. Then, in part two, we will solve for X by replacing the Human value with X and printing out a long equation. By the end of the video, you will have a better understanding of how to solve equations with Ruby.