Tripadvisor Interview Question

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