They are looking for angular frontend developer, In interview starting it self Informed, I have a basic knowledge in JavaScript. But they are asking JavaScript related question like write a palindrome, remove duplicate from array. I think interviewer might have to know they are interviewed which role. They should have to ask relative technology questions. May be in their angular projects they implement palindrome and remove duplicates values through UI only, They don't handle through service from backend to filter duplicate values.