0

How to solve hard problem?

26th Aug 2021, 10:04 AM
Ramkrishno Roy Shuvo
Ramkrishno Roy Shuvo - avatar
4 Respostas
+ 8
There are four steps to the problem-solving method: 1,Understand the problem. 2,Devise a plan. 3,Carry out the plan. ********************************** 1. Understand the problem Make sure you actually understand the problem before you get started with solving it. Read through the problem. If you’re in an interview, you could read through the problem out loud if that helps you slow down. As you read through the problem, clarify any part of it you do not understand.
26th Aug 2021, 10:16 AM
Matias
Matias - avatar
+ 5
It takes practices, there are many web sites that help you with that, but it highly depends on what “kind” of problems you're trying to solve
26th Aug 2021, 10:12 AM
Tim
Tim - avatar
+ 5
2, Devise a plan Next, devise a plan for how you’ll solve the problem. As you devise a plan, write it out in pseudocode. Pseudocode is a plain language description of the steps in an algorithm. In other words, your pseudocode is your step-by-step plan for how to solve the problem. Write out the steps you need to take to solve the problem. **************************** 3,Carry out the plan The next step in the problem-solving strategy is to solve the problem. Using your pseudocode as your guide, write out your actual code. What if there's a part of it you still don't know how to solve? Colt Steele gives great advice here: If you can’t solve part of the problem, ignore that hard part that’s tripping you up. Instead, focus on everything else that you can start writing.
26th Aug 2021, 10:20 AM
Matias
Matias - avatar
+ 5
I like to break a big problem down into smaller problems / concepts. Then I solve each concept and turn it into a modular unit, such as a function or method. Then I try to put it all together using the proven methods to do the heavy lifting. Solve the small stuff & the big stuff will follow
26th Aug 2021, 10:49 AM
Rik Wittkopp
Rik Wittkopp - avatar