4 ms·so that isn't really directly. Directly is O(1)by wishysgb 6y agoso that isn't really directly. Directly is O(1)zuminator 6y agoDirectly doesn't mean immediately here. It means without computing intervening digits.