Pergunta de entrevista da empresa TikTok

Two pointer array problem involving 2 entities starting from opposite ends and moving towards the middle at different rates sum their amounts. Cannot cross.