You and your friends (k friends in total, including yourself) are going to Hawaii for a vacation. In Hawaii, you are given a choice of n hotel rooms, in a straight line, numbered from 1 to n. The cost of the i-th room is c[i]. You can select any k hotel rooms, but you want to ensure that no two selected hotel rooms selected are adjacent to each other. Your objective is to minimize the cost. Describe an efficient algorithm for this problem.