Deloitte interview question

How to choose data types