SOLVING A DIFFICULT PROGRAMMING CODE ?
I am going to try and give you some good tools to enable you to get good at solving programming problems. (Really algorithm type problems specifically.) Common mistakes When most programmers are given a programming problem in an interview, they make several key mistakes. The most severe of those is the improper allocation of time. If you have heard the saying “measure twice and cut once,” then you are probably familiar with the idea of spending upfront time to make sure something is done right, rather than diving right in. The most common mistake I see when conducting interviews or watching someone try to solve a programming problem is they try to start writing code as soon as possible. You must resist this urge. You really want to make sure you take enough time to understand the problem completely before attempting to solve it. Another big ...