title: Definition of Distance in Peak coding challenge
body: <p>In the following question I am struggling to understand one part of the problem explanation.</p>
  <p><a href="https://app.codility.com/programmers/lessons/10-prime_and_composite_numbers/flags/" rel="nofollow noreferrer">https://app.codility.com/programmers/lessons/10-prime_and_composite_numbers/flags/</a></p>
  <p>It states that for K flags the distance between any two flags should be greater than equal to K. It then states that the distance between indices P and Q is equal to |P-Q|.<br />
  According to this definition, then in the two flag example K=2, peak three should be included as |3-1|=K=2.<br />
  However in the example peak 3 is not included.</p>
  <p>Can someone please explain?</p>