algorithms for interview python pdf