title: How can I compress a sequence of integers?
body: <p>I have an array which contains data within range -255 to +255.e.g. The array can be like this:</p>
  
  <pre><code>  int data[]={234,56,-4,24,56,78,23,89,234,68,-12,-253,45,128};
  </code></pre>
  
  <p>Here, order must be preserved while decompressing e.g. after 1st term 234, 56 must come.</p>
  
  <p>So, what are the ways to compress any arbitrary sequence of numbers for which any repeating pattern can't be observed?</p>