Array binary search error

failing to pass test case 3 then i tried for first occurrence also but getting same result, test case 3 not passed

modify line no 7
correct condition is while(s<=e){
it should be s<=e

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course