Plan out the full solution before you code
Often, people dive right into writing code as soon, until you’ve fully worked out the solution. Writing any more code than just for thinking is a critical mistake for two reasons.
MORE LIKE THIS
How to interview your interviewers when you're looking for a job