結果 : explain algorithm flowchart and pseudocode