//T.C : O(Q * N) where Q = number of queries, N = number of obstacles inserted so far ...