DEV Community

Discussion on: How do I improve coding interview question?

Collapse
 
chiangs profile image
Stephen Chiang

Building projects and solving coding challenges are related but also require focus on different skills.

When solving coding challenges, you need to formulate and internalize a process such as:

  1. Restate the problem to check you understand purpose and parameters.
  2. Clarify anything vague.
  3. Write a test case with intended result to check your work.
  4. Brute force.
  5. Iterate optimization.
  6. Verify results.

On top of that, practice with algorithms to help you be more creative with how to manipulate data the way you need it to solve the problem.

There are lots of books and sites out there that can help you with these types of problems.

There's also a great thread on daily challenges for you to practice with:

Good luck!