Pregunta de entrevista de GlobalLogic

Write a program to find missing positive integers in an array of R size.