Answer to Question #156801 in Databases | SQL | Oracle | MS Access for Josh

Question #156801

1. Consider the problem of searching an element x in an array of size n. which class of algorithm can we use If we want to solve the problem in O(Logn)


a. Divide and Conquer

b. Best first search algorithm

c. Greedy algorithm

d. Dynamic Programming


1
Expert's answer
2021-01-22T02:54:19-0500

Answer:

C. Best first search algorithm.

Explanation:

Best first search algorithm is a search algorithm which explores a graph by expanding the most promising node choosen according to specific rule.

Algorithms in Best first search:

1.Breadth first search

2.Depth first search

They uses the heuristic function and search.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS