Data Structure Sketches
Minimalistic data structure sketches with links to the code examples on JavaScript
Minimalistic data structure sketches with links to the code examples on JavaScript
Ok! So… there’s a cool new drawing app from Oleksii Trekhleb. “Draw to explain. Draw to grasp.” Check the demo video or just give it a try and see what you can dream up!
There are many great articles written about the Seam Carving algorithm already, but I couldn’t resist the temptation to explore this elegant, powerful, and yet simple algorithm on my own, and to write about my personal experience with it. Another point that drew my attention (as a creator of javascript-algorithms repo) was the fact that Dynamic Programming (DP) approach might be smoothly applied to solve it. And, if you’re like me and still on your “learning algorithms” journey, this algorithmic solution may enrich your personal DP arsenal.
In this article, we’ll train the car to do self-parking using a genetic algorithm. You can also launch the Self-parking Car Evolution Simulator to see the evolution process directly in your browser.