I am facing a runtime error for my java solutions to problem CLEANUP. I have tried two approaches one using arrays and other using a priority queue. The Submissions are here and here. I dont get run time error in the testcases provided. These are small inputs. Kindly help me in finding the runtime error. I would appreciate if you could provide or point me to large inputs.