Array Logical Interview Questions