Filter interviews by
I applied via Campus Placement and was interviewed in Nov 2024. There were 2 interview rounds.
Logical reasoning - 20 questions
Java Program - 1 question
A Java program to reverse a string involves converting the string to a character array and then swapping characters from both ends.
Convert the string to a character array using toCharArray() method
Use two pointers, one starting from the beginning and the other from the end, to swap characters until they meet in the middle
Finally, convert the character array back to a string using String constructor
Use a sorting algorithm like bubble sort or quicksort to arrange the strings in ascending order.
Implement a sorting algorithm like bubble sort or quicksort to rearrange the strings in ascending order.
Compare each pair of strings and swap them if they are in the wrong order.
Repeat this process until the array is sorted.
Example: ['apple', 'banana', 'cherry'] -> ['apple', 'banana', 'cherry']
Top trending discussions
I was interviewed before Jul 2016.
I was interviewed before Sep 2016.
I applied via Recruitment Consultant and was interviewed before Sep 2018. There were 4 interview rounds.
I was interviewed in Jul 2017.
I was interviewed in Feb 2017.
based on 1 interview
Interview experience
based on 14 reviews
Rating in categories
Software Developer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Softwaretest Engineer
4
salaries
| ₹0 L/yr - ₹0 L/yr |
DOT NET Developer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
.NET Software Developer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Tesla
Mahindra & Mahindra
TCS
Infosys