Wordle is a word guessing game that has taken the internet by storm. In this post, we attempt to create an app that can help us in solving the wordle puzzles
Regular Expressions (Regex) are a nifty tool for searching tons of text very quickly. This post aims to teach regex by means of a game. See you on the other side
Puzzle: You are given an urn with 10 balls (5 black and 5 white). You pick balls from the urn one by one without replacement until all the balls are out. A black followed by a white or a white followed by a black is 'a colour change'. Calculate the expected number of colour changes if the balls are being picked randomly from the urn.
Computers were designed to be deterministic, and yet they are able to generate randomness. In this post we go back in history and take a look at the first computational random number generator