Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / achintya singhal

good question
there are 4 connected components..
first contains vertices numbered 1, 5, 9,13,17,21,25,29....
second contains 2, 6, 10, 14, 18.......
third one contains 3, 7, 11, 15......
fourth contains 4, 8, 12, 16, 20.......

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is complete binary tree?

966


Is pointer a variable in data structure?

1382


Name few classes that implement collection interface?

974


What is dequeue in data structure?

952


What is binary search in data structure?

975


What do u mean by data type?

930


What is meant by binary tree?

933


What is mergesort and hashtable?

1167


What is the difference between 1d and 2d array?

1053


Is binary tree a bst?

960


Who created quicksort?

1024


How to inverting a function in sort and searching?

1058


What is the minimum number of nodes that a binary tree can have?

1217


Differentiate linear from a nonlinear data structure?

1121


Why do we use a multidimensional array in data structure?

1069