terzinodipaese / initialisation-of-an-array-in-logarithmic-time Goto Github PK
View Code? Open in Web Editor NEWThis procedure initialise an array in logarithmic time, that is O(log n). That is generally asymptotically better than the classic procedure, which takes linear time O(n).