Recursion and Code Compression
Randomly Shuffling an Array
What is shuffling?
Today, a user by the name of Nanashiiiima asked in the SuShCodingYT Discord channel:
Does anybody know how to assign every value in a randomized array to a unique integer? In my case, I’m trying to assign the 3 variables in my array with one of three values (I don’t want any of …
High-level Comparison of Efficient Sorting Algorithms
Overview
I was not able to find an easy-to-digest high-level summary of the popular sorting algorithms. This is my attempt to summarize the key pros and cons of the most widely used algorithms, including two popular hybrid sorts: Timsort and Introsort.
Quicksort
- not stable
- great best-case
- good …
A Brief Analysis of VVVVVV's State Machine
VVVVVV open sourced
On January 11, 2020, Terry Cavanagh announced at AGDQ that he would be open sourcing his well-known puzzle platformer, VVVVVV, in celebration of the 10-year anniversary of its release.
Reddit finds the state machine
Shortly after the announcement, a Reddit user by the name of …