Pergunta de entrevista da empresa Booz Allen Hamilton

How would you solve finding the first repeating character in a string? How would you solve finding large palindrome numbers? Describe the pillars of OOP.