revise comment for time complexity, no functional change