This is constant complexity. The algorithm time and/or space complexity is constant in all cases regardless of the input and its size.
1 min read
This is constant complexity. The algorithm time and/or space complexity is constant in all cases regardless of the input and its size.