Given an array of points, where each point is represented as points[i]=[xi,yi], which are the coordinates of the ith point on an X-Y plane where some points may have identical coordinates. Additionally, given an array of queries, where each queries[j] =[xj,yj,rj] represents a circle centered at the point [xj,yj] with a radius rj.
For each query, your task is to determine how many points lie within or on the boundary of the specified circle. The function should return an array answer, where answer[j] holds the number of points inside the jth circle.
Note: Points on the circle’s edge should also be counted inside the circle.
Constraints:
1≤ points.length ≤100
points[i].length ==2
0≤xi,yi ≤100
1≤ queries.length ≤100
queries[j].length ==3
0≤xj,yj ≤100
1≤rj ≤100