In Cleaning Tables august 14 editorial,i understood the logic but i could not understand how to implement it.I have few questions.
-
In authors solution why do we take Mamimum Customer Id = 1600? ,whereas in constraints it is given to be less than 400. what is the complexity of authors solution ? it seems to me it should be m^2.
-
How to implement it with the heap.(I know how to insert and delete from a heap)