Pregunta de entrevista de Meta

It was simple and basic stuff from computer science. Just try to solve leetcode problems and geeksforgeeks are sufficient.