IBM interview question

How do you approach coding or solving a problem?