Algorithm problem solving

No.12473262 ViewReplyOriginalReport
Can anyone help me answer these to prepare for my final? Not sure how to write the pseudocode for these problems