O(1) and O(5) both represent same time complexity since both the dictating constant time no matter on size of problem. This is also constant time complexity.