title: How to calculate time and space complexity of algorithms
body: <p>How to calculate space and time complexity of algorithms in java. </p>
  
  <p>Is the total time for execution [ Using System.nanoTime() ] equals time complexity of any alogrithm or function ?</p>
  
  <p>Example : Space and Time Complexity estimate of nth number in fibonacci series</p>