PA of Algorithms Q2