Calculating Big O Notation for a algorithm [duplicate]

Since there is no loop, it is O(1).

Leave a Comment