Why arent we storing the current pre in pre-k condition?

here if we are finding out pre-k and if the condition is true then why arent we adding pre into the map, there might be a case further where current pre-k will be equal to the previous pre

pls share the code u are referring to

i hope u dont have any doubt now…

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.