Tut 01 - Computational Problem-Solving

Thanks for my tutor Eric Han!

Problem 2.1

(a), (b), (c) and (e) are correct but (d) is incorrect.

Probelm 2.1 (d)

There are two reasons for (d) to be incorrect

  1. It will miss checking the l1l_1.

  2. It may check the element that is out of the bound.

Problem 2.2

Flowchart for Problem 2.2

Problem 2.3

Flowchart for Problem 2.3

Last updated