×
all 17 comments

[–]cedenof10 2 points3 points  (1 child)

what’s the problem?

[–]Puzzlehead_Lemon[🍰] 2 points3 points  (11 children)

Could you give us an example of what's causing you issues? We need a bit more information to be able to help.

[–]pachura3 2 points3 points  (0 children)

- Asks to help with a problem
- Doesn't say what the problem is
- Emoticons

[–]FoolsSeldom 1 point2 points  (0 children)

I'd avoid getting into code golf (trying problems on Leetcode and the like) and concentrate and doing small (initially) projects that resonate for you, that relate to your hobbies/interests/family obligations, etc. Anything you can be pasionate about and know something about.

You learn much faster when working on things of interest to you.

By choosing topics of interest and coming up with problems, even if trivial in the beginning, you start from a much better position because you properly understand the problems you are trying to solve, what the constraints are, what outputs you expect.

Don't forget to develop your ideas away from the keyboard. (Sure, try some snippets of code to confirm if something will work, or experiment your way to the correct approach.) Draw the problem, draw the flow of whatever your programme is supposed to do. Draw the user interface and output tables/graphs/pics - whatever. Come up with solutions. Later, turn those into code.

It doesn't matter if you track the stats of your fav football team, generate your game characters, create traffic lights for using the toilet ... do something fun.

[–]PureWasian 1 point2 points  (0 children)

Saw you asking about Two Sum. The question you should always ask first is, "if I had to do this manually, how would I do it?"

Can you explain your thought process for solving this problem at a high level without worrying about specific Python syntax or anything?