Pergunta de entrevista da empresa eBay

the first interview was about basic question on OOP concepts like ( polymorphism , inheritance and encapsulation) and one programming ques - anagrams. the questions in the second intr was from my resume and 2 programming questions - Given a string print the oldest repeating character and newest none repeating character - Given a string of open and close brackets return whether the number of open and close brackets match or not.