B is the correct option. Keys given to the list of elements in React should be unique among the siblings only.