Filter interviews by
I applied via Internshala and was interviewed before Mar 2023. There was 1 interview round.
Top trending discussions
I applied via Job Portal and was interviewed in Aug 2024. There were 2 interview rounds.
A palindrome program in Java checks if a given string reads the same forwards and backwards.
Create a function that takes a string input
Use a loop to compare characters from both ends of the string
Return true if the string is a palindrome, false otherwise
Diamond problem in Java occurs when a class inherits from two classes that have a common ancestor, resulting in ambiguity.
Diamond problem arises in multiple inheritance scenarios in Java.
It occurs when a class inherits from two classes that have a common ancestor.
To resolve the diamond problem, Java does not support multiple inheritance through classes, but it can be achieved using interfaces.
Example: Class A and Class...
Iterate through the list and find pairs of numbers that sum up to 6
Iterate through the list and check if the current number + any other number in the list equals 6
Store the pairs of numbers that sum up to 6 in a separate list
Return the list of pairs
Linked list is a data structure where elements are stored in nodes with pointers to the next node. Array list is a dynamic array that can grow or shrink in size.
Linked list allows for efficient insertion and deletion of elements anywhere in the list.
Array list provides fast access to elements using index, but slower insertion and deletion compared to linked list.
Example: Linked list - 1 -> 2 -> 3 -> 4 -> 5, Array list
The @Controller annotation is used for traditional MVC controllers, while @RestController is used for RESTful web services.
The @Controller annotation is used to define a class as a Spring MVC controller, which can handle HTTP requests and return a view.
The @RestController annotation is used to define a class as a controller for RESTful web services, which can handle HTTP requests and return data in JSON or XML format.
T...
posted on 24 Sep 2024
Map unique elements in an array of strings
Create a map to store unique elements
Iterate through the array and add each element to the map as a key
Retrieve the keys of the map to get the unique elements
Sets are data structures that store unique elements and can be used to efficiently find elements in the set.
Sets do not allow duplicate elements, so each element in a set is unique.
To find elements in a set, you can use the 'has' method to check if a specific element is present in the set.
Sets are commonly used in programming for tasks like removing duplicates from a list or checking for the presence of specific elemen
posted on 15 Jun 2024
I applied via campus placement at Bangalore Institute Of Technology (BIT) and was interviewed in Dec 2023. There were 4 interview rounds.
There are some general programming questions as well as the reasoning problems in the first round they are likely to be easier.
I applied via Job Portal
Integration between icerties involves connecting different software systems to enable seamless data exchange.
Use APIs to establish communication between different icerties
Implement data mapping to ensure compatibility between systems
Consider security measures to protect sensitive information during integration
I applied via eLitmus and was interviewed in Dec 2023. There were 4 interview rounds.
Logical thinking was important for preparation
SQL is a programming language used for managing and manipulating relational databases.
SQL stands for Structured Query Language
It is used to create, modify, and retrieve data from databases
SQL is a declarative language, meaning you specify what you want to achieve rather than how to achieve it
Common SQL commands include SELECT, INSERT, UPDATE, and DELETE
SQL is used in various database management systems like MySQL, Orac
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
I was asked with writing the code and algorithms. Also lots of MySQL queries
I applied via Naukri.com and was interviewed in Aug 2023. There was 1 interview round.
Exceptions in inheritance can be handled by using try-catch blocks in the derived class.
Use try-catch blocks in the derived class to catch exceptions thrown by the base class methods.
Handle exceptions specific to the derived class in the catch block.
Consider using super() to call the base class constructor within the try block.
Avoid catching general exceptions unless necessary to maintain code clarity.
Ensure proper exc...
posted on 5 Oct 2023
I applied via campus placement at Coimbatore Institute of Technology, Coimbatore and was interviewed in Sep 2023. There were 2 interview rounds.
There was Aptitude, Technical and Coding. Coding there were 4 sections for 4 languages (C, C++, java, Python) We had to do atleast 2. Technical MCQs were based on OS, CN, DSA, C, C++, Python (Numpy, Panda) and Java
based on 1 interview
Interview experience
Cognizant
Sutherland Global Services
Hexaware Technologies
Virtusa Consulting Services