Q. What is the time complexity of checking if an edge exists in an adjacency matrix?

यह जांचने की समय जटिलता क्या है कि आसन्न मैट्रिक्स में कोई किनारा मौजूद है या नहीं?

A
O(1)
B
O(n)
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