3forge interview question

Some array questions in Java and questions in SQL.