Pergunta de entrevista da empresa Meta

On my technical interview I was asked questions about time and space complexity, and to implement some simple algorithms. Example - check if string is a palindrome.