i
Opus Technologies
Filter interviews by
It was quiet normal, 2 question + 5-6 mcq.
Sorting an array of strings based on a specific criteria.
Use a sorting algorithm like quicksort or mergesort to sort the array of strings.
Define a custom comparator function to specify the sorting criteria, such as length or alphabetical order.
Example: Sorting an array of strings based on length - ['apple', 'banana', 'pear'] becomes ['pear', 'apple', 'banana'].
OOP concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability for objects to be treated as instances of their parent class or their own class.
Abstraction: Hiding the implementation details and showing only th
Top trending discussions
based on 1 interview
Interview experience
Technical Lead
79
salaries
| ₹10.8 L/yr - ₹33.8 L/yr |
Senior Technology Engineer
40
salaries
| ₹9 L/yr - ₹28.5 L/yr |
Senior Software Engineer
33
salaries
| ₹8.4 L/yr - ₹24.6 L/yr |
Associate
33
salaries
| ₹3 L/yr - ₹8.5 L/yr |
Senior Technical Lead
33
salaries
| ₹19.5 L/yr - ₹43 L/yr |
TCS
Infosys
Wipro
HCLTech