Let the G be a graph with 100 vertices numbered 1 to 100
Two vertices i and j are adjecnt if | i-j| =8 or | i-j|
=12. The Number of connected components in G is ?
Answer Posted / rakesh
4
| Is This Answer Correct ? | 20 Yes | 7 No |
Post New Answer View All Answers
State the different types of linked lists?
What are the disadvantages of representing a stack or queue by a linked list?
What is the heap in data structures?
Do sets allow duplicates?
Why do we use stacks?
What is difference between hashmap and treemap?
Why do we need sorting?
Define an algorithm. What are the properties of an algorithm? What are the types of algorithms?
What is the use of placement new?
How will you sort the elements of array in descending order?
What is the complexity of bubble sort?
What is binary tree? Explain its uses.
Is array immutable?
What are the advantages of binary search over linear search?
Describe the degree term in a tree.