test IO interview question

How do you proceed with difficult task?