Aspire Systems Interview Question

Questions based on sorting,patterns and Oops