Runtime complexity is sensitive for value not on inputexponential because value can be represented as bit which done by exponential wayIt is really easy to be in trap during coding test that timeout. It it theoretically linear but actually .