Some algorithm implementation practice for preparing interviews