Learn about the builder design pattern by assembling hamburger objects.
At the core of the Prototype design pattern lies the (deep) cloning of objects. This post shows implementing this pattern in both Java and Python.
Examples of the Abstract Factory Method, Factory Method and Template Method Design Patterns. With class diagrams and Java and Python code samples.
A short example on how to implement the Singleton Design Pattern.
An algorithm that solves the hexagon tile puzzle from Toysmith.