DEV Community

AhmedQasem4
AhmedQasem4

Posted on

How can you help me at problem solving?

I need to master my skills at problem solving as a programmer to be good software engineer as all know , i have programming basics knowledge , oop , data structures and i don't know where i should start or how to start , i tried to solve problems on codeforces and other websites like this but i find it so difficult to solve problems even after see solution i disappointed to not solve it , so if you have any platform or courses to make me master my skills at problem solving please suggest it to me and i will be grateful to you

Top comments (5)

Collapse
 
raviklog profile image
raviklog

1) Take a problem that you come across online or your own study materials
2) write your understanding on it and come out with Pseudo code steps
3) Classify inputs and outputs required from the problem and name it.
4) Based on the Pseudo code come out with a function which in simple manner collects input and generate an output...you can write it in plain english.
5) Now select a language of choice (Python/Java/.NET/......) and then try to get basics of them....like variable handling, function creation....parameter handling....and then the visual display of the output..
6)This Pseudo code you can bring it in your language of Choice.
7) Important part is test your inputs and expected output...if that matches your initial Step 4) of analysis of inputs and outputs...then your logic is fine...else try to tune/re-work on the logic part..
Little detailed...hope this helps

Collapse
 
ahmedqasem4 profile image
AhmedQasem4

I really wanted to know these basics steps , thanks alot ❤️

Collapse
 
ahmedqasem4 profile image
AhmedQasem4

I'm still wondering for more advices

Collapse
 
jtlapp profile image
Joe Lapp

You can try coding for yourself. The problem with relying on other people's exercises is that they don't necessarily build on what you already know. But if you code something up using just the skills you have, you can then push yourself to add something that requires learning a new skill.

You can also try later returning to prior problems whose solutions you saw and seeing if you remembered how to do them. If not, the next time you look at the solution, there will be less about it that is new and surprising. Keep this up, and eventually nothing will be new and surprising and you'll have solved the problem on your own.

I think the hardest thing about programming isn't the difficulty of problem solving. The hardest thing is learning to be patient with ourselves and never giving up. When you've mastered patience, you'll be a problem solving guru.

Collapse
 
ahmedqasem4 profile image
AhmedQasem4

You already all right , i give up quickly and i need to train my self first to be patient, thanks for your advice ❤️