Microsoft interview question

Data Structures basics, theoretical dice problem