Morgan Stanley interview question

describe strategy pattern.