Q 1 took 15 mins, I fumbled alot in Q2 follow up to explain the negative values with example. Got the working code and complexity. Already know it is a reject, good luck to those preparing :)