September 2025
📟
Algorithms
Challenge Instructions
An algorithm is defined as a set of step by step instructions used to perform a particular task
Here are some examples of algorithms you could try to implement
- Searching - linear search, binary search, substring search, KMP search
- Sorting - bubble sort, insertion sort, selection, shell, merg, quick, counting, radix, stalin, bogo
- Trees/graphs - depth-first search, breadth-first search, Dijkstra's algorithm, A* search, find specific value, find min/max/average/total, output all nodes less than/greater than another value
- Maths - greatest common divisor GCD, lowest common multiple LCM, output primes, Collatz conjecture, Newton-Raphson to find square roots,
- Maths - check if even/odd, reverse digits of number, implement own ROUND function, output all factors of a number, quadratic formula
- Number systems - convert between binary/denary/hexadecimal
- String - implement uppercase function, check if two strings are anagrams, implement concatenation function, sort letters in string alphabetically, find most common character
- Array - reverse, shift array elements, remove duplicates, find common elements in 2 arrays, output range (difference between smallest and biggest), determine if one array is a subset of another
- Programming - check for balanced brackets, convert infix to postfix expression, evaluate a postfix expression, tokenise a simple language
...etc - there are many different examples you can think of
As a target, let's try and have 10 programs submitted by members of the community for others to enjoy...good luck...and have fun!
Top Submissions
Submission Instructions
Create your program on the editor page, then click the upload button at the bottom of the code editor as shown below
Once you are confident your program is working well without obvious bugs, then give it a relevant name, choose the current monthly challenge from the dropdown box, choose some program categories if you want and submit it :)
Note: your submitted programs will be in blue and you can overwrite them by opening them, clicking the upload button again and selecting "overwrite"