Answer:
Time the code takes to execute is O(n²)
Explanation:
The code forms an arithmetic series using it two loops.
n+(n-1)+(n-2)+........+2+1
=n(n+1)/2
=O(n²)
Answer:
My Nav is the right answer.
Explanation:
Net asset value (NAV) describes a fund's per part exchange value. NAV is calculated by separating the complete value of all the money and securities in a fund's responsibility, minus any mortgages, by the number of exceptional shares. The NAV estimation is necessary because it shows us how much one portion of the fund is worth.