PA of Algorithms Q4