NODAL EXCHANGE interview question

How to find the correlation between two datasets using programming knowledge