Closed brebenelmihnea closed 4 weeks ago
i'm gonna trust that justin knows what this explanation is about lmao
yeah i solved this problem yesterday cuz i got bored, altho my impl uses pointers lol
$\mathcal{O}(N \cdot \log{MAXVAL})$ isn't the nicest way to notate it - maybe something like $\mathcal{O}(N \cdot \log{C})$, where $C = INT MAX$? idk, that might not be any cleaner tbh
no yeah that works like N log M, where M is the maximum value
Place an "x" in the corresponding checkbox if it is done or does not apply to this pull request.