MediBuddy interview question

Questions on JavaScript basics and two-pointer questions