1 - Google.
2 - Ask to my teammates.
3 - If it's a big task I try to split it in a small ones or try with different approaches.
4 - Just practice some relaxing and easy going task like the gym, a shower, a walk or a movie because a relaxed mind works in background and may be you'll find the solution in that moment or the next time that you start to think in the problem you'll be fresh!
Excellent. I especially like the reminder to split the problem down, I definitely need to do this!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.