I am trying to write a program to solve the closest pairs problem using divide and conquer in C#.net. i get points x and y and save them in a array(555*555). i read a lot of articles (including CLRS) about solving this problem but i really don't know how to write the code. first i am supposed to divide the matrix but i don't know how much?
the other question is should i check only x or both x and y??