In selection sort the outer loop time complexity will be O(n) and the inner loop time complexity will be (n(n-1))/2 then why have we added outer loop time complexity with inner loop : n + (n(n-1))/2 instead of multiplying?
As it is a nested loop then it must be multiplied. But if we multiply the time complexity, it will become O(n^3) instead of O(n^2)