Our great sponsors
-
CodingChallenges
Micro Coding Challenges. Mastering these coding challenges may not get you a job at google... but you'll be one step closer to building your own JavaScript game at codeguppy.com.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Please use however any programming language / environment to implement the solution and then share the output as well as the solution. If you decide to use codeguppy.com -- there is a Share button in the top right corner of the coding playground.
Please excuse my crappy Rust... https://github.com/grumble1965/rust-fantasy/blob/main/main.rs
I have put it on Gitlab.
Python implementation: GitHub
In C: https://github.com/ednl/c/blob/master/vm-codeobserver.c