+ 13
How can solve any algorithm challenge .
In C++ challenge which method can can solve algorithm questions. Is any simple method to solve it.
2 odpowiedzi
+ 6
You have to review the others' code😉😉
+ 2
Different problems require different algorithms.
There is no "one algorithm to rule them all".
Think about the problem you like to solve. Is there any data the algorithm gets? What are the requirements of the output? What steps are between the start and the end of the problem?
After thinking about that you can create algorithms for each step. If you finished a more complex step test it. Do this for every step and at the end you can combine these steps to get your program.
Now you could rethink the process. Maybe you can improve it.
The other way would be to type the problem into Google, click on stackoverflow and get the solution :p