Avaya Interview Question

How do you approach a problem? Do you dive into the code right away? If not, how do you prepare yourself?