What are the disadvantages of breadth-first search algorithm?


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

Post New Answer

More AI Algorithms Interview Questions

list the types of linked list with aid of diagram?

0 Answers  


Tell us why is naïve bayes machine learning algorithm naïve?

0 Answers  


what is software cycle?give a diagramatic representation

0 Answers  


What is depth-first search algorithm?

0 Answers  


Which algorithm inverts a complete resolution strategy?

0 Answers  






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

0 Answers   Tech Mahindra,


Write an algorithm to traverse a knight covering all the squares on a chessboard starting at a particular point.

0 Answers   Amazon,


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

0 Answers  


What was deep learning, & how does it contrast with other machine learning algorithms?

0 Answers  


What are the disadvantages of depth-first search algorithm?

0 Answers  


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  


Can you list some use cases where classification machine learning algorithms can be used?

0 Answers  


Categories