title: Given an array of booleans, what is the most efficient way to select the index of a random TRUE value?
body: <p>You're given an array of size n, containing arbitrary boolean values.</p>
  
  <p>What is the fastest way to return the index of a random TRUE value.  </p>
  
  <p>The algorithm should randomly return any one of the indices containing a TRUE.</p>