Filter interviews by
Clear (1)
Reverse a given string
Create a new string and iterate through the original string in reverse order, appending each character to the new string
Use built-in functions like reverse() or StringBuilder in languages like Java
In Python, you can use string slicing [::-1] to reverse the string
A program to find palindromes in a given array of strings.
Iterate through each string in the array
Check if the string is equal to its reverse to determine if it is a palindrome
Store palindromes in a separate array for output
Example: Input - ['madam', 'hello', 'level'], Output - ['madam', 'level']
I have experience using Selenium WebDriver framework for automated testing.
Utilized Selenium WebDriver for writing automated test scripts
Implemented Page Object Model design pattern for better test maintenance
Integrated with TestNG for test execution and reporting
I applied OOPS concepts in my framework by using inheritance, encapsulation, polymorphism, and abstraction to create reusable and modular code.
Used inheritance to create parent classes with common functionality that child classes can inherit.
Implemented encapsulation by hiding internal implementation details and exposing only necessary methods and properties.
Leveraged polymorphism to allow objects of different classes ...
What people are saying about Virtusa Consulting Services
Virtusa Consulting Services interview questions for designations
Get interview-ready with Top Virtusa Consulting Services Interview Questions
I applied via Campus Placement and was interviewed before Oct 2022. There were 4 interview rounds.
There around 6 sections 2 is coding sections
Java is platform-independent, object-oriented, and uses automatic memory management, while C++ is platform-dependent, supports multiple paradigms, and requires manual memory management.
Java is platform-independent, while C++ is platform-dependent.
Java is object-oriented, while C++ supports multiple paradigms.
Java uses automatic memory management (garbage collection), while C++ requires manual memory management.
Java has...
Objects are instances of classes in object-oriented programming. Classes define the properties and behaviors of objects.
An example of a class is 'Car', which defines properties like color, make, and model, and behaviors like drive and stop.
An object of the class 'Car' could be 'myCar' with properties 'red', 'Toyota', 'Camry' and behaviors 'drive()' and 'stop()'.
Access specifiers define the level of access to classes, methods, and variables in object-oriented programming.
Access specifiers include public, private, protected, and default.
Public access specifier allows access from any other class.
Private access specifier restricts access to only within the same class.
Protected access specifier allows access within the same package and subclasses.
Default access specifier (no keywo...
Truncate removes all records from a table, while drop deletes the table itself.
Truncate is a DDL command, while drop is a DDL command.
Truncate is faster than drop as it does not log individual row deletions.
Truncate can be rolled back, while drop cannot be rolled back.
Truncate resets the identity seed of the table, while drop does not.
Example: TRUNCATE TABLE TableName; DROP TABLE TableName;
Yes, I am comfortable with night shifts as I have previous experience working during those hours.
Have previous experience working night shifts
Understand the importance of maintaining focus and attention during non-traditional work hours
Able to adjust sleep schedule accordingly to ensure optimal performance during night shifts
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Sep 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Nov 2020. There were 3 interview rounds.
I applied via Referral and was interviewed in Nov 2020. There was 1 interview round.
based on 6 interviews
2 Interview rounds
based on 62 reviews
Rating in categories
Senior Consultant
3.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Consultant
3.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Consultant
3.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
3.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
2.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Cognizant
TCS
Infosys
Accenture