PA of Algorithms Q7