EY interview question

Hiring was for Rest Assured API testing. Code and basic Java OOPs concept Write static xpath if I have a ID vary from 1 to 5 . I gave dynamic way to write path. 2nd round 2 coding question both were easy but I was unable to understand the 2nd question , So I give the partial correct answer first. Question based on status code, just a rapid fire. Cucumber keywords - 80 percent answered pesticide paradox - didn't answer. So as this was a Rest assured interview question , they never asked any Rest assured question, Secondly at the end of interview he said that interview only ask question on those topics when you say you havn't work in this tool or you are not currenly working on that. Strange interviewer. Please avoid such dump peoples be a part of interview panel.