Log n graph. In this case, O(log n) outperformed O(1).