pratik-choudhari / AlgoCode

Welcome everyone!🌟 Here you can solve problems, build scrappers and much more💻
https://github.com/pratik-choudhari/AlgoCode
MIT License
131 stars 166 forks source link

Closest Pair Of Points #450

Closed Nishitk-20 closed 3 years ago

Nishitk-20 commented 3 years ago

Feature ✅

Description

An array of n points in the plane, and the problem is to find out the closest pair of points in the array.

Example

Input : N = 6 Array =[ {2, 3}, {12, 30}, {40, 50}, {5, 1}, {12, 10}, {3, 4} ]

Output : Smallest Distance = 1.414214

Checklist:

Contributors are supposed to mention their coding language while asking for assignment

Nishitk-20 commented 3 years ago

I will like to solve this using cpp

vksingh28 commented 3 years ago

I would like to solve this using CPP

RachanaKampli commented 3 years ago

can you assign this to me to in python?