Back to problems

Similarity analysis

Algorithm · Two Sigma · Medium

You are given a table called temperatures holding one row per daily observation, with the columns town, date, and temp (degrees Fahrenheit). One of the towns listed is NYC. Your goal is to determine which town's temperature behavior resembles NYC's the most. The word "resembles" is deliberately left undefined. Start by selecting a similarity measure and stating it explicitly, then justify why that measure captures the kind of resemblance you intend — for example, whether you…

Checking your access…