-
Leetcode – 3sum
Well… I wasn’t born with the talent of a premiership footballer, so this will likely be the only 3sum I get. This is another Leetcode problem, it builds upon the 2sum example (see the previous post) but adds one more number (obviously) and some more conditions, which significantly increase the difficulty of the problem being…
-
Leetcode – 2sum
After a period of inactivity due to working full time on a project (this was enough coding for me), I am back writing some articles. After a week and a half away from work over the Christmas period I quickly fell into the familiar seasonal pattern of not really knowing what day it is, with…
-
Turtle – Learning to code with drawings
Introduction I am currently stuck indoors suffering with Covid, this is especially unfortunate as I am overseas on holiday, with few better options I decided to play around with the Python Turtle library. What is Turtle? When I was at school (a long time ago) there was a language we used on the computers called…
-
Cracking Wordle
In my previous post. I explained how you can code the NY Times puzzle game Wordle in Python. I recommend reading the previous post (Coding Wordle) if you are unfamiliar with how Wordle works. My sister is a fan of this puzzle and told me she could only play it once a day on the…
-
Coding Wordle
Christmas is a strange time of the year, often you feel like you’ve gone from rushing around in chaos to sitting down with little to do. My Christmas is often like this. This year my sister was doing an online puzzle called Wordle but having completed it I asked – is that it? To which…
-
Creating a Classic – Snake
I once owned a Nokia 3310 (showing my age a bit here). This phone was and still is class for several reasons; Now obviously compared to modern games Snake is rubbish, but as a kid in school in the late 90’s it was class. How Does the Game Work Snake is a really basic game.…