They have both been two of the hottest stocks in recent years.