March Algorithm Time Complexity