4 ms·
So you treat 1 integer as log n? That's very technical, but in that case OK.
by ajuc 11y ago
So you treat 1 integer as log n? That's very technical, but in that case OK.
- TheLoneWolfling 11y agoYes. Although, as I said, in practice you can treat the integer index as constant space.