Micro-Leads interview question

1. Figure out how to implement a data structure given a specific bit length 2. Question relates to Swift programming language