DEV Community

Discussion on: Have you ever felt completely helpless when facing down a coding problem?

Collapse
 
emlautarom1 profile image
Martín Emanuel

Well, a few days ago I was asked to solve the "Minimum Transaction Problem" in a test. Things didn't go well like... at all.

I was absolutely lost. I have some knowledge in algorithms, data structures and graph theory, but I never had to solve something like that. Of course, I didn't pass the test.

For me the biggest problem was the lack of time to think. I had like 2 to 3 hs to solve something that I've never faced before and I had to rush a solution. It was a total failure.

I think that when we're facing a problem and we're hopeless the best thing to do is to take a break, like a real brake, and do something else. Take a walk, play some games, watch a movie. Come back a few hours later - or just take the day off - and then face the problem starting from scratch with a new mindset.