title: what is the difference between O(nk) and O(n+k) in time complexity?
body: <p>In big O notation of time complexity in algorithmic analysis, when an algorithm depends on n and k, what is the difference between these two notations. 
  Also pls help in the notation to use if there is a nested loop with outer loop running n times and inner loop running k times ?</p>