Interviewer himself was not clear with the questions. He was not even able to explain the question properly which later i found out was available on leetcode so he must have been reading it out from there
Interview questions [1]
Question 1
some leetcode questions which even he didnt understand