ParentFull threadlassejansen·Or, phrased differently, if n has an upper limit, the algorithm is O(1).View on HN