2 ms·Depends on whether your naive approach prioritizes time or space.by wat10000 1mo agoDepends on whether your naive approach prioritizes time or space.