- Видео 15
- Просмотров 680
Software Dev James
Великобритания
Добавлен 8 авг 2023
Advent of Code 2024 Day 14 Python
Like, comment and subscribe for more!
Chapters
00:00 Intro
00:08 Part 1
10:41 Part 2
19:35 Outro
We solve the 2024 advent of code puzzle for day 14 using python. The part one for this puzzle would be fine to solve using a purley programitic approach, doing the robot movment, then bringing it back into the grid, 100 times over, but with the use of modular arithmetic we can do the calcualtion once per robot for all 100 steps at once. Part 2 is a bit difffernt from the last few days, but if you make an assumpotion on what the Easter Egg will look like (or visit the reddit) then you can have a few different approaches. I decided to look for a 3x3 block in the points for each itteration, but I have...
Chapters
00:00 Intro
00:08 Part 1
10:41 Part 2
19:35 Outro
We solve the 2024 advent of code puzzle for day 14 using python. The part one for this puzzle would be fine to solve using a purley programitic approach, doing the robot movment, then bringing it back into the grid, 100 times over, but with the use of modular arithmetic we can do the calcualtion once per robot for all 100 steps at once. Part 2 is a bit difffernt from the last few days, but if you make an assumpotion on what the Easter Egg will look like (or visit the reddit) then you can have a few different approaches. I decided to look for a 3x3 block in the points for each itteration, but I have...
Просмотров: 5
Видео
Advent of Code 2024 Day 13 Python (Mathematical Approach)
Просмотров 1819 часов назад
Like, comment and subscribe for more! Chapters 00:00 Intro 00:58 Problem 02:20 Mathematical Derivation 07:42 Part 1 18:16 Part 2 20:33 Outro We solve the 2024 advent of code puzzle for day 13 using python, but mostly using a matheatical derivation for the solution. Whilst part 1 of this puzzle can be solved with an extend Euclidean Algorithm, and would be the usual way to approach these kinds o...
Advent of Code 2024 Day 11 Python
Просмотров 1619 часов назад
Like, comment and subscribe for more! Chapters 00:00 Intro 00:08 Part 1 16:03 Part 2 17:19 Outro We solve the 2024 advent of code puzzle for day 11 using python. This puzzle involves magical numbers stones that either increase their number or split into two stones every time you blink! We go though some of the inital ideas on how to solve this puzzle, which leads us to the best implimentation, ...
Advent of Code 2024 Day 10 Python
Просмотров 2121 час назад
Like, comment and subscribe for more! Chapters 00:00 Intro 00:08 Part 1 17:21 Part 2 19:47 Outro We solve the 2024 advent of code puzzle for day 10 using python.This puzzle involves a topographical map, a map of heights, as a grid and we have to find routes from the 0s to the 9s, which would be a hike from the lowest point to a summit. We firstly write an alogrithm to be able to find each summi...
Advent of Code 2024 Day 9 Python
Просмотров 73День назад
Like, comment and subscribe for more! Chapters 00:00 Intro 00:05 Part 1 13:16 Part 2 17:56 Outro We solve the 2024 advent of code puzzle for day 9 using python. This puzzle involves several parts that fit together. We use an array data structure to model a block of data, then use a method to consolidate that block of data according to the given rules. For part 2 the rules of this consolidation ...
Advent of Code 2024 Day 8 Python
Просмотров 35День назад
Like, comment and subscribe for more! Chapters 00:00 Intro 00:05 Part 1 13:16 Part 2 17:56 Outro We solve the 2024 advent of code puzzle for day 8 using python. This puzzle involves a taking 2 nodes and calculating where their antinodes would be on the map. There are different sets of nodes, each with their own icons, and nodes of different icons do not interact. Part 1 involves calculating the...
Advent of Code 2024 Day 7 Python
Просмотров 54День назад
Like, comment and subscribe for more! Chapters 0:00 Intro 0:18 Part 1 21:49 Part 2 31:00 Outro We solve the 2024 advent of code puzzle for day 7 using python. This puzzle involves a target number and a list of inputs, with the aim being to see if there is a way to take all those inputs in order, using plus and multipule between then, evaluating left to right, to get the target number. We use a ...
Advent of Code 2024 Day 6 Python
Просмотров 51День назад
Like, comment and subscribe for more! Chapters 0:00 Intro 0:11 Part 1 17:50 Part 2 35:04 Outro We solve the 2024 advent of code puzzle for day 6 using python. This puzzle involves a guard moving, hitting objects and trying to escape the map. This one is a little tricky and a bit longer as there are quite a few things to keep track off, but if you work through it in the way we do in the video, o...
Advent of Code 2024 Day 5 Python
Просмотров 89День назад
Like, comment and subscribe for more! Chapters 0:00 Intro 0:08 Part 1 9:00 Part 2 15:15 Outro We solve the 2024 advent of code puzzle for day 5 using python. The puzzle is about applying a bunch of rules to an integer array and seeing which of those arrays pass all of the rules. Part 2 is a little trickier where we have to take the arrays that fail the rules and shuffle them around until they d...
Advent of Code 2024 Day 4 Python
Просмотров 7314 дней назад
Like, comment and subscribe for more! Chapters 0:00 Intro 0:11 Part 1 15:36 Part 2 20:32 Outro We solve the 2024 advent of code puzzle for day 4 using python. The puzzle is a wordsearch for XMAS inside a grid of letters that are X, M, A or S. We look at how to approach the problem first, not worrying about implementation at the start, just thinking about how we will solve it. We use abstraction...
Advent of Code 2024 Day 3 Python
Просмотров 7514 дней назад
Like, comment and subscribe for more! Chapters 0:00 Intro 1:01 Part 1 9:46 Part 2 14:48 Outro We solve the 2024 advent of code puzzle for day 3 using python. The puzzle itself isnt too complicated but the use of RegEx (Regular Expresion) can sometimes stump people. RegEx, in my opnion, is a tool to user rather than something to know every detail of, and with that in mind it can be a very useful...
Advent of Code 2024 Day 2 Python
Просмотров 2114 дней назад
Like, comment and subscribe for more! Chapters 00:00 Intro 00:38 Part 1 15:14 Part 2 23:06 Outro We solve the 2024 advent of code puzzle for day 2 using python. This is a slightly more challenging puzzle than day 1, but should be suitable for someone whoe is beggining to code as the concepts are not too advanced. We cover simple logic with the interactions of AND, OR and NOT (De Morgan's laws) ...
Advent of Code 2024 Day 1 Python
Просмотров 4214 дней назад
Like, Comment and Subscribe for more! Chapters: 00:00 Intro 00:23 Part One 05:48 Part Two 08:40 Outro We solve the 2024 advent of code puzzle using python. This is a nice first puzzle for someone who is getting started with coding and covers the concepts of reading in from a file, splitting lines, sorting arrays and general thoughts when solving this problem. My aim it to make a video for each ...
Building My FIRST Weather App with React, Bootstrap & ChatGPT! | Watch Me Code Live & Learn
Просмотров 116Год назад
In today's episode, we're going to venture into uncharted territory for me: building a simple weather app using React, Bootstrap, and even incorporating ChatGPT! WHAT TO EXPECT - A step-by-step guide on setting up a React project from scratch. - Using Bootstrap for UI and styling. - Real-time debugging and problem-solving (yes, I'm doing this for the first time too!). - Using ChatGPT to generat...
Build a Simple React App with React Routes: A Step-by-Step Guide to React Router DOM
Просмотров 32Год назад
Learn how to create a small React application using routes from React Router DOM! This beginner-friendly tutorial walks you through the process of setting up two pages: a home page and a contacts page, complete with navigational buttons to switch between them. In this video, you'll learn: - How to set up React Router DOM in your project - Creating two distinct pages within your app - Utilizing ...
thanks a lot man, this video really helped me... just a suggestion: try to zoom in in your videos yk the code's really hard to see :)
You’re welcome, and thank you so much for commenting! Yeah good point, I should have done a test recording really - will get that sorted for the next video! Any topics that you would like to see? 😊
stuff related to 'animation' in react would be great @@SoftwareDevJames