3 ms·And by that definition this is a counting algorithm.by jameshart 2y agoAnd by that definition this is a counting algorithm.