title: How To Calculate Complexity?
body: <p>I am a beginner in algorithms and I don't know how to calculate complexity.</p>
  
  <pre><code>Example:
  int x=10,y;
  y = x;
  </code></pre>
  
  <p>What is the complexity in example above?</p>
  
  <p>Thanks</p>