What are the disadvantages of depth-first search algorithm?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More AI Algorithms Interview Questions

Which algorithm is used for solving temporal probabilistic reasoning?

0 Answers  


What is Back propagation in Neural Networks?

1 Answers  


Which is the most straight forward approach for planning algorithm?

0 Answers  


list the types of linked list with aid of diagram?

0 Answers  


Give a general algorithm for converting a m-array tree to a 2-ary tree.

0 Answers   Tech Mahindra,






Which search algorithm will use a limited amount of memory in an online search?

0 Answers  


What is the uniform cost search algorithm?

0 Answers  


Explain me what's your favorite algorithm, and can you explain it to me in less than a minute?

0 Answers  


Explain the concept behind dead lock avoidance, banker's algorithm.

0 Answers   HPCL, Hughes Systique Corporation,


Consider the following algorithm, where the array A is indexed 1 through n: int add_them ( int n , int A[ ] ) { index i , j , k ; j = 0 ; for ( i = 1 ; i <= n ; i++) j = j + A[i] ; k = 1 ; for ( i = 1 ; i <= n ; i++) k = k + k ; return j + k ; } (a) If n = 5 and the array A contains 2, 5, 3, 7, and 8, what is returned? (b) What is the time complexity T(n) of the algorithm?

0 Answers  


Which is the most straight forward approach for planning algorithms?

0 Answers  


How are the k-nearest neigh-bors (knn) algorithms different from k-means clustering?

0 Answers  


Categories