Q. What is the worst-case time complexity of Depth-First Search (DFS)?

डेप्थ-फर्स्ट सर्च (डीएफएस) की सबसे खराब स्थिति वाली समय जटिलता क्या है?

A
O(n)
B
O(n + m)
C
O(n log n)
D
O(n²)

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment