Filter interviews by
A singleton is a design pattern that restricts a class to a single instance and provides a global point of access to it.
Ensures only one instance of a class exists throughout the application.
Provides a global access point to that instance.
Commonly used in logging, configuration settings, and thread pools.
Example in Java: public class Singleton { private static Singleton instance; private Singleton() {} public stat...
ListView.builder creates a scrollable list of items in Flutter, optimizing performance for large datasets.
Efficiently builds items on demand, reducing memory usage.
Uses an indexed builder function to create widgets as they scroll into view.
Ideal for long lists, such as displaying a large number of contacts or messages.
Example: ListView.builder(itemCount: 100, itemBuilder: (context, index) => Text('Item $index')...
Documentation workflow involves planning, writing, reviewing, editing, and publishing content.
Plan the documentation by identifying the audience and purpose
Write the content following a structured format
Review the content for accuracy, clarity, and completeness
Edit the content for grammar, style, and consistency
Publish the documentation in the appropriate format
Find the first non-repeating character in a string
Iterate through the string and count the frequency of each character
Return the first character with a frequency of 1
Multiplying two tuples involves multiplying corresponding elements of each tuple and summing the results.
Multiply the first element of the first tuple with the first element of the second tuple, then multiply the second element of the first tuple with the second element of the second tuple, and so on.
Sum the results of the multiplications to get the final result.
Example: (2, 3) * (4, 5) = (2*4) + (3*5) = 8 + 15 = ...
Python code to remove duplicates from a list of strings
Use set() to remove duplicates from the list
Convert the set back to a list to maintain the order of elements
Example: input_list = ['apple', 'banana', 'apple', 'orange']
Output: ['apple', 'banana', 'orange']
To find the top earning employee in a SQL table, you can use a SQL query with the MAX function on the salary column.
Use a SQL query with the MAX function on the salary column to retrieve the highest salary in the table.
Join the result with the employee table to get the details of the top earning employee.
Example: SELECT * FROM employees WHERE salary = (SELECT MAX(salary) FROM employees);
Python supports single, multiple, and multilevel inheritance.
Single inheritance: A class can inherit from only one parent class.
Multiple inheritance: A class can inherit from multiple parent classes.
Multilevel inheritance: A class can inherit from a derived class, creating a hierarchy.
Generators produce values one at a time, while iterators are objects that allow iteration over a sequence of values.
Generators are functions that can pause and resume execution, producing a sequence of values lazily.
Iterators are objects that implement the Iterator protocol, allowing iteration over a sequence of values.
Generators can be created using function* syntax in JavaScript, while iterators can be created u...
Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during compilation.
Variable and function declarations are hoisted to the top of their scope.
Only declarations are hoisted, not initializations.
Function declarations take precedence over variable declarations.
I appeared for an interview in Feb 2025.
ListView.builder creates a scrollable list of items in Flutter, optimizing performance for large datasets.
Efficiently builds items on demand, reducing memory usage.
Uses an indexed builder function to create widgets as they scroll into view.
Ideal for long lists, such as displaying a large number of contacts or messages.
Example: ListView.builder(itemCount: 100, itemBuilder: (context, index) => Text('Item $index'))
A singleton is a design pattern that restricts a class to a single instance and provides a global point of access to it.
Ensures only one instance of a class exists throughout the application.
Provides a global access point to that instance.
Commonly used in logging, configuration settings, and thread pools.
Example in Java: public class Singleton { private static Singleton instance; private Singleton() {} public static Si...
Unit testing in Flutter ensures individual components work correctly, improving code quality and reliability.
Unit tests verify the functionality of a single function or class.
Flutter uses the 'test' package for writing unit tests.
Example: Testing a function that adds two numbers can be done using 'test('adds two numbers', () { expect(add(2, 3), 5); });'
Unit tests can be run using the command 'flutter test'.
Good unit te...
MCQ asked for css,js etx
Declarative rules are statements that define the desired outcome without specifying the steps to achieve it.
Declarative rules focus on what needs to be done rather than how to do it
They are commonly used in programming languages like SQL and Prolog
Example: SQL SELECT statement specifies what data to retrieve without specifying how to retrieve it
Aptitude test with english
Sql, excel, plx, vba, python, dsa, power bi
Real time business problems
Real time business problems
Documentation workflow involves planning, writing, reviewing, editing, and publishing content.
Plan the documentation by identifying the audience and purpose
Write the content following a structured format
Review the content for accuracy, clarity, and completeness
Edit the content for grammar, style, and consistency
Publish the documentation in the appropriate format
Find the first non-repeating character in a string
Iterate through the string and count the frequency of each character
Return the first character with a frequency of 1
I applied via Campus Placement
Java-based coding test. minimum 3 questions you can attempt 2
Top trending discussions
The duration of Virtusa Software Services interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 31 interview experiences
Difficulty level
Duration
based on 135 reviews
Rating in categories
Consultant
67
salaries
| ₹7.9 L/yr - ₹14 L/yr |
Software Engineer
59
salaries
| ₹3.8 L/yr - ₹7.4 L/yr |
Lead Consultant
58
salaries
| ₹13 L/yr - ₹23 L/yr |
Senior Consultant
51
salaries
| ₹13 L/yr - ₹23 L/yr |
Associate Consultant
49
salaries
| ₹4 L/yr - ₹9.1 L/yr |
TCS
Accenture
Wipro
Infosys