How to get full marks


#1

I solved it one attempt and then made it more efficient constant space and time but still I don’t get full marks.Whats the criterion for getting full marks


#2

To get full marks you have to solve it as early as possible