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