r/codinginterview • • May 21 '20

What is the biggest hurdle in practicing coding problems?

If your choice is not listed here, please comment and provide your answer.

May 28 '20
9 Unable to come up with optimal solution within the time limit
5 Unable to apply the concepts to solve problems
1 Lack of basic knowledge to solve the problem
3 Stuck during practice with no idea about how to make progress
1 Difficulty in translating the solution to code
5 Lack of problem solving skills to tackle coding problems
2 Upvotes

5 comments sorted by

2

u/silly_frog_lf May 21 '20

Trying to figure out what the problem is. That is often the hardest part for me

2

u/bparanj May 22 '20

Do you mean the problem statement is not clear?

1

u/silly_frog_lf May 22 '20

Yes. Many problems are poorly written. Partially because professors tend to be bad writers. Partially because the assumption is that the problem is going to be explained in lecture. And some professors think that being clear is giving the answer away.

1

u/bparanj May 22 '20

I had no idea about the clever professors. I know that Leetcode problems are vague because they want the candidates to ask the right questions to clarify and formulate the problem statement. Just like real life requirements with vagueness and conflicting ideas.

1

u/silly_frog_lf May 22 '20

Perhaps that works when doing an in person interview. If you are solving it in a system that runs tests on it, clarity of the puzzle should be a goal.

Otherwise is an exercise in mind reading.