結果 : explain algorithm and flowchart