@kumar :  i have one doubt regarding this question.Do we have to use all K
colors[K] to color all building.

for example :-

color[3]={1,2,10};

now if we have to color 6 building then i can use only 1st 2 color to color
all building and never 10 ...is this allowed ???
building[N]={1,2,1,2,1,2}


On Sun, Dec 15, 2013 at 12:44 AM, kumar raja <[email protected]>wrote:

> You have 'n' houses and 'k' colors. The cost of coloring a house with one
> of the 'k' colors is different from coloring another house with same color.
>  The cost of coloring the house with different colors are different. So now
> how to colour the 'n' houses such that no two adjcent houses will get the
> same color and the total coloring cost for 'n' houses is minimized.
>
>
>
> Regards,
> Kumar Raja.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].

Reply via email to