Concept:Arrange six people on floors 1 to 6 using the given immediate-neighbour and distance conditions.Explanation:U lives on an odd floor above floor 1, so U is on floor 3 or 5.B is immediately above U and A is immediately below U, so they occupy three consecutive floors.Only one person lives between U and P, so P is two floors away from U.K is immediately above D, and D is not on floor 1.Testing U on floor 3 gives B on 4, A on 2, and P on 1; D and K then fit on 5 and 6.This satisfies all conditions.