+ 13

How can solve any algorithm challenge .

In C++ challenge which method can can solve algorithm questions. Is any simple method to solve it.

16th Feb 2018, 1:05 PM
shubham
2 Answers
+ 6
You have to review the others' codešŸ˜‰šŸ˜‰
16th Feb 2018, 1:08 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 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
16th Feb 2018, 1:17 PM
Alex
Alex - avatar