Guys something is definitely wrong with LC's runtime and space analysis algorithm. I submitted the same code three times and this is the judgement it gave.
I have seen it earlier but ignored thinking that some changes made by me in my code might have resulted to this