learning common algorithmic and machine learning tasks