Time complexity to check if an edge exists between two vertices would be ___________

Question:Time complexity to check if an edge exists between two vertices would be ___________

1.O(V*V)

2.O(V+E)

3.O(1)

4.O(E)


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!