Filter interviews by
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 ...
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 Naukri.com and was interviewed before Sep 2021. There were 4 interview rounds.
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 Nov 2020. There were 3 interview rounds.
Top trending discussions
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Selenium is a widely used open-source tool for web automation testing, while Cypress is a newer tool known for its fast and reliable testing capabilities.
Selenium is more established and has a larger community support
Cypress is known for its fast test execution times
Cypress has built-in support for modern web technologies like React and Angular
Selenium supports multiple programming languages like Java, Python, and C#
Cy...
Cypress can be installed using npm package manager.
Install Node.js if not already installed
Open terminal and run 'npm install cypress'
Once installation is complete, run 'npx cypress open' to open Cypress Test Runner
Reverse a string in Javascript
Use the split() method to convert the string into an array of characters
Use the reverse() method to reverse the order of the characters
Use the join() method to convert the array back into a string
based on 6 interviews
2 Interview rounds
based on 62 reviews
Rating in categories
Senior Consultant
4k
salaries
| ₹8 L/yr - ₹25.4 L/yr |
Lead Consultant
3.3k
salaries
| ₹10.5 L/yr - ₹34.6 L/yr |
Consultant
3.3k
salaries
| ₹6 L/yr - ₹21 L/yr |
Software Engineer
3.3k
salaries
| ₹3.5 L/yr - ₹13 L/yr |
Associate Consultant
2.8k
salaries
| ₹4.6 L/yr - ₹15.4 L/yr |
Cognizant
TCS
Infosys
Accenture