(b) Consider the sequence of weight 3,1,2,3. The given algorithm will pick the first and third nodes Consider the sequence of weights 2 ,3, 2. The greedy algorithm wll pick the middle node, w, while the maximum weight independent set consists of the first and fourth.