Q. What is the worst-case space complexity of an adjacency matrix for a graph with n vertices?

n शीर्षों वाले ग्राफ़ के लिए आसन्न मैट्रिक्स की सबसे खराब स्थिति वाली स्थान जटिलता क्या है?

A
O(1)
B
O(n)
C
O(n²)
D
O(log 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