Filter interviews by
I applied via Indeed and was interviewed before Apr 2022. There were 3 interview rounds.
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
Java program to find shortest distance between 2 nodes in an array of strings
Create a method that takes in the array of strings and the two nodes as parameters
Use a map to store the index of each node in the array
Calculate the distance between the two nodes using their indices in the array
OOPs concept is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOPs stands for Object-Oriented Programming
Key concepts include classes, objects, inheritance, polymorphism, and encapsulation
Classes are blueprints for creating objects, which are instances of classes
Inheritance allows a class to inherit properties and behavior from an...
I applied via Job Portal and was interviewed in Jul 2024. There was 1 interview round.
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 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
posted on 19 Mar 2024
I applied via Campus Placement and was interviewed in Sep 2023. There were 3 interview rounds.
First Round was Aptitude and coding both together. Logical Reasoning, Blood Relations. In coding part there were 3 questions of easy level . Topics were array , string.
Interview experience
HR Manager
5
salaries
| ₹2.8 L/yr - ₹5.4 L/yr |
Reactjs Developer
4
salaries
| ₹2.5 L/yr - ₹3 L/yr |
Software Developer
3
salaries
| ₹1.4 L/yr - ₹2 L/yr |
Web Developer
3
salaries
| ₹3.7 L/yr - ₹6 L/yr |
PHP Web Developer
3
salaries
| ₹1 L/yr - ₹2.4 L/yr |
TCS
Infosys
Wipro
HCLTech