A collection of small standalone programming exercises written across the first two quarters of 2025. Each file or folder solves a single self contained problem, and the work spans five languages and a wide range of topics, from classic algorithms and data structures to small simulations, games, data analysis, and networking.
Written: January to June 2025
Languages: C++, C#, Java, JavaScript, Python
- C++ Algorithms, numerical and machine learning routines, concurrency and networking, templates and object oriented design, and samples built on external libraries such as Boost, Crypto++, OpenGL, and SFML. Most are single files, with two small multi file programs, a chat client and server, and a clock synchronisation simulation.
- C# A few object oriented exercises, including a color value type, a traffic light built with the state pattern, and a vending machine model.
- Java Graph algorithms such as shortest path, traversal, diameter, and cycle detection, alongside data structures and classic problems like the knapsack and a parking lot model.
- JavaScript Parsers and codecs, asynchronous and networking utilities, a couple of small browser apps and games, and a few bioinformatics snippets.
- Python Algorithms and data structures, concurrency and networking including socket servers and a small web service, several data analysis scripts, and a handful of games and visualisations.
All data used by these programs is mock test data generated purely for the exercises.