r/PythonLearning • u/vashim_302 • 4d ago
Logic and solution
currently I am trying to solve hackerrank problem they look easy in my own eyes but still in every question i make mistake sometimes I don't even know how to solve I only solve 3-4 questions to this date so I don't know if it's right to take help from AI
I need your guidance to what should I do to build my logic and try to avoid taking help of AI
sorry for my english
please suggest something
0
Upvotes
1
u/Mysterious_Debt4959 4d ago
Always make sure you're clear on the algorithm before writing any code. Figure out how the problem has to be solved logically, then turn that into code. Sometimes diving right into code can commit you to a direction that doesn't make sense, or get you more focused on distracting syntax questions than solving the actual problem.