1.

Consider the following code.Which of the following lines should be inserted to complete the below code?

A. T2[i] = get_min(t2[i-1]+spent[1][i], t1[i-1]+reach[0][i-1]+spent[1][i])
B. T2[i] = get_min(t2[i-1]+spent[1][i], t1[i-1]+spent[1][i])
C. T2[i] = get_min(t2[i-1]+spent[1][i], t1[i-1]+reach[0][i-1])
D. None of the mentioned
Answer» B. T2[i] = get_min(t2[i-1]+spent[1][i], t1[i-1]+spent[1][i])


Discussion

No Comment Found