3 ms·
O(0) is essentially meaningless. The only way a task could possibly be O(0) is if it isn't done at all, as even if the task is guaranteed to run in a Planck se
by Sohcahtoa82 2y ago
O(0) is essentially meaningless. The only way a task could possibly be O(0) is if it isn't done at all, as even if the task is guaranteed to run in a Planck second [0], that's still constant time and would be O(1).
[0] https://simple.wikipedia.org/wiki/Planck_time https://simple.wikipedia.org/wiki/Planck_time