Filter interviews by
Clear (1)
Use hashmap to find duplicates in an array of strings
Create a hashmap to store each string as key and count as value
Iterate through the array and check if the string already exists in the hashmap
If it does, increment the count, else add it to the hashmap
Return the strings with count greater than 1 as duplicates
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance variable in the class.
Provide a public static method to access the instance.
Ensure the constructor is private to prevent instantiation from outside the class.
transient and volatile are keywords in Java used for different purposes
transient keyword is used to indicate that a field should not be serialized when converting an object to byte stream
volatile keyword is used to indicate that a variable's value will be modified by different threads
transient keyword is used in serialization, while volatile keyword is used in multithreading
example: transient keyword - private transien...
Comparator and Comparable are interfaces in Java used for sorting objects.
Comparator interface is used to define custom sorting logic for objects.
Comparable interface is used to define natural ordering of objects.
Comparator is used when you want to sort objects based on multiple attributes.
Comparable is used when you want to sort objects based on a single attribute.
Example: Sorting a list of Person objects based on the...
I applied via Campus Placement and was interviewed before Jul 2021. There were 4 interview rounds.
Aptitude test on CS subjects like C programming, DBMS, CN, and OS.
There were 2 input-output based questions of easy to moderate level
Every candidate was given an individual topic and was asked to speak on it
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
I applied via Company Website and was interviewed before Jul 2021. There were 3 interview rounds.
Aptitude, reasoning, English, cloud sections
2 questions in which , one has to complete within an 50 minutes
I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.
Attended the codevita competition in final year of college.
I applied via Campus Placement and was interviewed before Mar 2021. There were 2 interview rounds.
OOPs concept in JAVA is a programming paradigm that focuses on objects and their interactions.
OOPs stands for Object-Oriented Programming
It involves the use of classes, objects, inheritance, polymorphism, and encapsulation
Classes are used to define objects and their properties
Objects are instances of classes that can interact with each other
Inheritance allows for the creation of new classes based on existing ones
Polymo...
Java provides Arrays.sort() method to sort an array.
Use Arrays.sort() method to sort an array of strings.
The method sorts the elements in ascending order by default.
To sort in descending order, use Collections.reverseOrder() method.
I applied via Newspaper Ad and was interviewed before Jun 2021. There were 3 interview rounds.
I applied via Company Website and was interviewed before Apr 2021. There were 2 interview rounds.
It's totally based on Basic understanding of concepts such as Linear arrangement, circular arrangement، blood relation, direction sense, ratio proportion, time, speed, distance
I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.
The first round is an aptitude online test that had Basics of Computer Science, Mathematics, English and then finally one basic program to code and compile like Palindrome.
Three panellists were present and it was a face-face round, Panellist 1 and 2 takes the technical discussions like classes, inheritance, oops concept, basic syntax, and such. Panellist 3 talks more about your resume skills, hobbies and the company overview.
I applied via Recruitment Consulltant and was interviewed before May 2021. There were 2 interview rounds.
based on 1 interview
Interview experience
Consultant
7.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
4.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
3.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
2.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Cognizant
PwC
Capgemini