I have got the way that it is to be implemented,i havee even got my testcases correct but i am still confused at what question is trying to ask. Look it is asking for K nearest hostels from origin,so firectly shouldnot they beones at the points (5,5) , (6,6) and (7,7).
even if i look at the question being k nearest to each other while he viists, then also for the first etstcase the nearest would be with (-8,-8) , how come for first type 2 query (10,10) will be the justified answer…
