Python Algorithms Practice Questions