Garena interview question

1. Find the smallest positive integer that missing from a given array. 2. Binary search question 3. Design a chat system.