Short codes in python, C, C++ on common problems for practice