How to evaluate program complexity in runtime?
<p>How can I properly and quite accurately evaluate program runtime and memory complexity just running program ?</p>

<p>I can run program several times using different input sizes. Can measure how long it works. But what should I do with this time further ? How to say (just seeing at "N - time" results) that this is linear or this is quadratic function ?</p>

<p>I think I understand how to measure memory complexity. Just get how many memory use process. And base on that decide what memory complexity is.</p>