For example, I’m just taking n square inputs for a nXn matrix and not performing any other operation in my code/program. So, will the time complexity be O(n^2) ?
or we just consider time complexity if we perform any operation like getting sum of all values while taking the input ???