algorithms playground for common questions