Assume you have two parameters, $N \gg 1$ and $\epsilon < 1$.
I have an algorithm (and matching lower bounds) that runs in $\Theta(\epsilon^{-1}+\log N)$ for $\epsilon > N^{-1}$, and $\Theta\big(N\log\big(\frac{2}{N\epsilon}\big)\big)$ otherwise.
I would like to write it using one notation (possibly with $\max$ or $\min$ operands), but can't get it right.
The problem is that $\log\big(\frac{2}{N\epsilon}\big)$ is negative for large values of $\epsilon$, so it doesn't seem to fit.
Any help will be appreciated :D.