Then I benchmarked the two implementations using a million iterations. ⏱️. The time complexity for checking if a registration number exists in the mockDatabase is now O(1), which is a significant improvement over the O(n) time complexity of the includes operation in an Array