Code

Time and Space Complexity of Algorithm or Program Explained

What is Time and Space Complexity of Algorithm? What does O(1), O(n), O(n^2)… algorithm complexity mean?