title: Best algorithm to find all possible permutation of given binary bits
body: <p>I am looking for an optimal algorithm to find out remaining all possible permutation 
  of a give binary number.</p>
  
  <p>For ex:</p>
  
  <p>Binary number is : ........1. algorithm should return the remaining 2^7 remaining binary numbers, like 00000001,00000011, etc.</p>
  
  <p>Thanks,
  sathish</p>