## Cubin’s in the Air

I’ve always noticed how Simon learns in a spiral, touching an area of interest and then seemingly abandoning it only to circle back at a higher level. This month, Rubik’s … Continue reading Cubin’s in the Air

Skip to content
a homeschooling blog about Simon, a young mathematician and programmer, and his little sister Neva. Visit https://simontiger.com

# Tag: algorithms

## Cubin’s in the Air

## Fooling Java

## The Perfect Sorting Algorithm

## Rainbow Quicksort in p5.js

## The Diffe-Hellman key exchange algorithm

## Why mathematics may become computer science

## Simon’s new “giant project”: Sorting Visualizations

## Pathfinding algorithms: Dijkstra’s and Breadth-first search

## More Sorting Algorithms!

## Unconvinced on a Brilliant puzzle

I’ve always noticed how Simon learns in a spiral, touching an area of interest and then seemingly abandoning it only to circle back at a higher level. This month, Rubik’s … Continue reading Cubin’s in the Air

I wanted to get Java to mix the order of the numbers between -128 and 127. I think there’s no way to do that because the shuffling algorithm would break … Continue reading Fooling Java

Simon showed us this guessing game where we had to guess the correct sequence of cards with numbers 1, 2, 3, 4 while the cards are all flipped upside down. … Continue reading The Perfect Sorting Algorithm

Link to Simon’s code: https://editor.p5js.org/simontiger/sketches/UMuLxaHJ

This is Simon explaining Diffe-Hellman key exchange (also called DiffeHellman protocol). He first explained the algorithm mixing watercolours (a color representing a key/ number) and then mathematically. The algorithm allows … Continue reading The Diffe-Hellman key exchange algorithm

Walking home from the swimming pool (where he and Neva had been jumping into the water exactly 24 times, calling out all the permutations of 1,2,3 and 4), Simon suddenly … Continue reading Why mathematics may become computer science

Simon writes: I’ve built a giant project; a website / community project / platform for making algorithms! I’ve built in this video Bubble Sort, Selection Sort, Insertion Sort, Mergesort, Quicksort, … Continue reading Simon’s new “giant project”: Sorting Visualizations

The photos below show Simon playing with Breadth-first search and Dijkstra’s algorithms to find the most efficient path from S to E on a set of graphs. The two more … Continue reading Pathfinding algorithms: Dijkstra’s and Breadth-first search

An update to Simon’s new project: a series of video tutorials on sorting algorithms! See the full playlist here. Finally, parts 6 and 7 of Simon’s exciting series of video … Continue reading More Sorting Algorithms!

Simon writes (this is a copy of the question he has published in Coding Train’s Slack chat): Hi! I was unconvinced on a Brilliant puzzle: The problem (at https://brilliant.org/practice/treaps/?p=4): Me … Continue reading Unconvinced on a Brilliant puzzle