4 ms·
O(N^2) is the time you need to write down the correct answer, provided that it takes 0 time to calculate each cell in resulting matrix
by slt2021 6y ago
O(N^2) is the time you need to write down the correct answer, provided that it takes 0 time to calculate each cell in resulting matrix
- hyperbovine 6y agoProvided it takes O(1) time not 0.