題組內容

4. Suppose we have three functions: 
63b7822c613e2.jpg

(a) (6%) For each of the three methods above (foo(), goo(), and poo(), what is the exact runtime for each method (in steps) in terms of A,B,C, and N? You should not count loop related operations.