Pergunta de entrevista da empresa Walmart Global Tech

How many leaves does a perfect binary tree have? What's the time complexity?