This is great! I sketched something similar in this post on quadratic complexity jarednielsen.com/big-o-quadratic-t..., but I like yours better. Do you mind if I use it? With credit, of course.
Sure, go ahead!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.