Advanced geometry convex hull

Advanced geometry convex hull

Hey ! Please check out your question “pairs on Line” . I guess the answer for the sample tc itself is wrong. Also this is my code which gives answer: 4 for the sample testcase.

https://ide.geeksforgeeks.org/Rdk8nOqQ6k