What is 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

What is meant by uniform cost 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  


What is the iterative deepening depth-first search algorithm?

0 Answers  


Name search algorithm technology?

0 Answers  


list the types of linked list with aid of diagram?

0 Answers  






Sorting algorithms and time complexity of various algorithms.

0 Answers   InterGraph,


What is simulated annealing algorithm?

0 Answers  


A lot of questions were asked on sorting for eg. Best algorithm on the basis of number of swaps, number of comparisons etc.

0 Answers   DELL,


Write the Shortest path algorithm for a graph.

1 Answers   Tech Mahindra,


What is depth-first search algorithm?

0 Answers  


Write a code/algorithm to find the frequency of each element in an array?

0 Answers   ITC Indian Tobacco Company,


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

0 Answers  


Categories