0
Types of algorithms.
Among divide & conquer,greedy approach, dynamic programming and backtracking; which algorithm is the most efficient and how?
6 Respostas
+ 3
Please specify details because there are infinite possible algorithms
+ 1
different algorithms are used for different problems. is there a specific problem you have in mind?
+ 1
Which algorithm among the above is most efficient for computation?
+ 1
any code like of factorial etc.
0
harshit computation of what?
0
harshit well when it comes to factorial there's an O(1) approach that's purely mathematical, a linear approach and a recursive approach and maybe even some other ones. you have to exactly know which problem you're trying to solve to know what kind of algorithm to apply.