Filter interviews by
Java provides several sorting algorithms to sort arrays of strings.
Arrays.sort() method can be used to sort an array of strings in ascending order.
Arrays.sort() method uses the natural ordering of the elements.
To sort in descending order, you can use the Comparator.reverseOrder() method.
You can also use other sorting algorithms like bubble sort, insertion sort, etc.
Top trending discussions
I applied via LinkedIn and was interviewed in Nov 2023. There was 1 interview round.
Object-oriented programming concepts like inheritance, encapsulation, polymorphism, and abstraction are used in the project.
Inheritance: Allows one class to inherit properties and methods from another class. For example, a 'Car' class can inherit from a 'Vehicle' class.
Encapsulation: Bundling data and methods that operate on the data into a single unit. For example, using private variables and public methods to control...
Automation framework is a set of guidelines, coding standards, concepts, processes, practices, project hierarchies, modularity, reporting mechanisms, test data injections, and maintenance activities.
Automation framework provides a structured way to automate tests
It helps in achieving reusability, scalability, and maintainability of test scripts
Common types of automation frameworks include data-driven, keyword-driven, h...
I applied via Naukri.com and was interviewed in Dec 2023. There was 1 interview round.
There are various types of testing such as functional, performance, security, usability, compatibility, etc.
Functional testing ensures that the software meets the functional requirements
Performance testing checks the software's performance under different loads
Security testing identifies vulnerabilities and ensures data protection
Usability testing evaluates the software's user-friendliness
Compatibility testing checks t...
Implement a sorting algorithm without using the sort method in Python.
Use a custom sorting algorithm like bubble sort, selection sort, or insertion sort.
Iterate through the list and compare adjacent elements to swap them if necessary.
Repeat the process until the list is sorted.
Example: Implementing bubble sort to sort a list of strings.
I applied via Walk-in and was interviewed in Dec 2024. There was 1 interview round.
Use regex to extract numbers from a string
Use regex pattern '\d+' to match one or more digits in a string
Iterate through each string in the array and use regex to extract numbers
Store the extracted numbers in a separate array
Abstraction is hiding the implementation details while Interface is a contract that defines the methods that a class must implement.
Abstraction focuses on what an object does, while Interface focuses on what an object is.
Abstraction can be achieved through abstract classes in Java, while Interface is implemented using the 'implements' keyword.
Abstraction allows for code reusability and flexibility, while Interface enfo...
posted on 10 Jan 2025
I applied via Job Portal
Testing and behavioral questions
posted on 12 Jan 2022
I applied via Recruitment Consultant and was interviewed before Jan 2021. There was 1 interview round.
based on 2 interviews
Interview experience
based on 1 review
Rating in categories
Module Lead
475
salaries
| ₹8 L/yr - ₹30.8 L/yr |
Senior Software Engineer
251
salaries
| ₹7.9 L/yr - ₹30 L/yr |
Team Lead
229
salaries
| ₹5.2 L/yr - ₹22.3 L/yr |
Softwaretest Engineer
222
salaries
| ₹4 L/yr - ₹14 L/yr |
Senior Application Developer
220
salaries
| ₹8.6 L/yr - ₹26.4 L/yr |
Teleperformance
iEnergizer
WNS
Infosys BPM