Improving data structures and algorithms skills through creative coding

Hello guys
I really wish to brush up my algorithms and data structures skills in a pretty deep level. But more than using competitive coding websites, I wish to create interesting creative coding projects to excel in the same. Any ideas on how I should pursue to do this?


Any data structures which are intended to represent spatial information can be easily visualized. For example R-Tree for geo-spatial representations.

You can check different split algorithms there. One can make own Earth with many points of interest popping up on zoom in.


Thanks will definitely check it out

It might be interesting to generate a couple of short lists: one of projects you’d like to tackle and another of data structures you’d like to use. It may take a few projects, but I bet you’ll find opportunities to apply each data structure where it’s best suited.

For reference, I’m a fan of Allen Downey’s teaching style and use Think Java in my AP CS A course. His other Java book, Think Data Structures, was fun to work through as well–I built a search engine! Perhaps you can scaffold your project(s) similarly.


You also might want to consider creative ways to write visual Processing versions for some the many tasks at RosettaCode. These include algorithms, working with data structures, and common computational tasks. While submissions are generally focused, Processing versions are different from most languages in that some tend to include visualization output–that being the main point of there being a Processing version instead of just using Java. You can browse examples to get an idea.

1 Like

Can I use p5js for creating the visualisations?

In general, yes. On RosettaCode? Since p5.js isn’t a dialect, I think the way to do that is to provide JavaScript solution listings that use p5.js – you could check with the admins on their policies.