Tech Mahindra interview question

1. Java objects 2. algorithms