Pregunta de entrevista de Roblox

LC using 2 pointer and array partitioning and a OOP question