Domanda di colloquio di Tripadvisor

How would you implement a bit vector data structure? Optimizing for memory?