title: what data structure should I use to store binary codes in java?
body: <p>I have binary codes as <strong>10111</strong> , <strong>100011</strong>, <strong>11101111</strong> etc. now what <strong>data structure</strong> should I use to store these codes so that minimum size is required to store them?</p>
  
  <p>I can't use <strong>string array</strong> as size required will be more as compared than storing the decimal equivalent of above binary codes.</p>