16

log N  time complexity
iterative procedure