DEV Community

loading...

Discussion on: Why am I finding code challenges so damn hard?

Collapse
carsturdy profile image
Carson Sturtevant

I think the key here is that you'll get better by practicing. Solving coding challenges requires a unique thought process that doesn't come up regularly in your day to day - so you'll need to practice on your own to feel more comfortable with it.

You can also watch a few youtube videos of people solving problems during interviews. It will help you get a feel for how the interviews go and how to approach them.

Another thing - research the company you are interviewing for as best you can. I was able to find interview details on glassdoor for many companies before applying. Keep in mind they might switch up their process regularly so it might not be the exact same problems but you'll get a feel for the level of difficulty.

Think about it like this, if you wanted to get better at playing the guitar how would you do it? Play more guitar. The same concept applies to solving challenges. Best of luck for your future interviews!

Collapse
bassemmohamed profile image
Bassem Ibrahim👨‍💻🇪🇬 Author

Thanks, Carson. Yeaah I agree with you. I just have to man up and solve as much as I can.

I find myself wasting a bunch of time on some problems tho. What do you think is better taking my time and ending up with my solution or just look at people's solutions for help to save time.

I mean committing to a hard challenge could take all day, Looking at the solution and figuring the idea out won't

Collapse
carsturdy profile image
Carson Sturtevant

Give the problem a fair shot. Get out your notebook/whiteboard and draw it out. Trying to work through it in your head is tough. Also interviewers will appreciate seeing your thought process visually.

If you get to a point where you are totally stuck and have sunk a bunch of time into it then consider looking at others solutions and try to really understand it.

There isn't one right away to approach it so its up to you to figure out what your balance is. With time you'll be better at solving them and thus more prepared for your interviews!

Thread Thread
bassemmohamed profile image
Bassem Ibrahim👨‍💻🇪🇬 Author

Thanks, Carson.