Filter interviews by
I applied via Naukri.com and was interviewed in Jan 2024. There were 2 interview rounds.
Find min and max from List of Integers using Java 8 streams.
Use the `stream()` method on the List to create a stream of integers.
Use the `min()` method to find the minimum value.
Use the `max()` method to find the maximum value.
Find 2nd largest element using Java 8 streams from a list of integers.
Sort the list of integers in descending order using streams.
Skip the first element to get the second largest element.
Increase the values of a list of integers by 2 and create a new list.
Iterate through the list of integers
For each integer, add 2 to its value
Create a new list with the updated values
Java has introduced several new features in recent versions.
Java 8 introduced lambda expressions, which allow for functional programming.
Java 8 also introduced the Stream API for processing collections of data.
Java 9 introduced the module system, which provides better encapsulation and modularity.
Java 10 introduced local variable type inference, allowing the omission of explicit type declarations.
Java 11 introduced the...
The @Component and @Repository annotations are used in Spring Framework for different purposes.
Both annotations are used to define beans in the Spring container.
@Component is a generic stereotype annotation for any Spring-managed component.
@Repository is a specialization of @Component used for DAO classes.
The @Repository annotation provides additional exception translation for data access exceptions.
Using @Repository i...
The @Entity annotation is used in Java to mark a class as an entity, which represents a table in a relational database.
The @Entity annotation is part of the Java Persistence API (JPA) and is used in object-relational mapping (ORM) to map Java objects to database tables.
It is typically used in conjunction with other JPA annotations like @Table, @Column, and @Id.
The @Entity annotation is used to define the entity name, s...
The database is configured by setting up the necessary parameters and configurations to ensure proper functioning and performance.
Database configuration involves defining the database schema, tables, and relationships.
It includes setting up indexes and constraints for data integrity.
Configuring database security measures like user access control and permissions.
Tuning database performance by optimizing query execution ...
Dockerfile is a text file that contains instructions to build a Docker image.
Dockerfile is used to automate the creation of Docker images.
It specifies the base image, dependencies, environment variables, and commands to run.
Each instruction in the Dockerfile creates a new layer in the image.
Dockerfile can be version controlled and shared to ensure consistent builds.
Example: FROM ubuntu:latest RUN apt-get update && apt-...
CI/CD is a software development practice that enables frequent and automated code integration, testing, and deployment.
CI/CD stands for Continuous Integration and Continuous Deployment.
It involves automating the process of integrating code changes, running tests, and deploying the application.
CI/CD helps in reducing manual errors, improving code quality, and increasing development speed.
Tools like Jenkins, GitLab CI/CD...
Mutable classes in Java are classes whose state can be modified after creation.
Mutable classes allow changing their internal state
They can have mutable fields or methods that modify their state
To create a mutable class, define fields with non-final modifiers
Provide public methods to modify the state of the class
Inheritance in Java allows a class to inherit properties and behaviors from another class.
Inheritance is achieved using the 'extends' keyword in Java.
Subclasses can access the methods and fields of their superclass.
Java does not support multiple inheritance, but a class can implement multiple interfaces.
Use SQL query with ORDER BY and LIMIT to find the last element in a table.
Use ORDER BY column_name DESC to sort the data in descending order.
Use LIMIT 1 to retrieve only the last element.
HTML5 is the latest version of HTML with new features and improvements.
HTML5 supports new elements like
HTML5 introduces new APIs like Geolocation, Drag and Drop, Local Storage, Canvas, WebSockets, etc.
HTML5 supports multimedia elements like
HTML5 has improved semantics and accessibility features compared to HTML.
I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.
OOPs concept stands for Object-Oriented Programming concepts which includes encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation is the process of hiding the implementation details from the user.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects to take on multiple forms or behaviors.
Abstraction is the process of hiding unnecessary details from
Lazy loading is a technique used to defer the loading of non-critical resources until they are needed.
It improves page load time and performance.
It is commonly used for images, videos, and other media files.
It can be implemented using JavaScript libraries like LazyLoad or Intersection Observer API.
Lazy loading can also be used for modules and components in web applications.
It helps to reduce the initial load time of th
Eager loading is a technique used in software development to load related data in advance to avoid multiple database queries.
Eager loading is used to optimize database queries and improve performance.
It loads all the required data in a single query instead of making multiple queries.
It is commonly used in Object-Relational Mapping (ORM) frameworks like Hibernate, Entity Framework, etc.
Eager loading can be used with var...
Top trending discussions
posted on 25 Sep 2024
To check if a linked list is a palindrome, compare the first half of the list with the reversed second half.
Traverse the linked list to find the middle node
Reverse the second half of the linked list
Compare the first half with the reversed second half to check for palindrome
There were 3 sections. 1st was aptitute 10 questions and 2nd section was technical 10 questions then 3rd section had 3 coding questions which were of easy level.
I applied via Referral and was interviewed in Nov 2024. There were 2 interview rounds.
Data Structures and Algorithms
posted on 13 Sep 2024
I applied via Naukri.com and was interviewed in Mar 2024. There were 3 interview rounds.
Interprocess communication involves various mechanisms like pipes, sockets, shared memory, etc. Goroutines communicate using channels and shared memory.
Interprocess communication can be achieved through mechanisms like pipes, sockets, shared memory, message queues, etc.
Goroutines in Go communicate internally using channels, which are typed conduits through which you can send and receive values.
Shared memory can also be...
Design a URL shortener service
Generate a unique short code for each URL
Store the mapping of short code to original URL in a database
Redirect users from short URL to original URL
Consider scalability and performance of the service
Implement analytics to track usage statistics
I applied via campus placement at Indian Institute of Technology (IIT), Guwahati and was interviewed before Oct 2023. There were 2 interview rounds.
DSA ques were moderate and aptitude ques were also asked
posted on 3 Apr 2024
A palindrome code in C# checks if a given string reads the same forwards and backwards.
Create a function that takes a string as input
Use a loop to compare characters from the start and end of the string
Return true if all characters match, false otherwise
Coding test was comprising of mcq based questions on db, oops, c++ and java
Interview experience
based on 13 reviews
Rating in categories
Process Associate
677
salaries
| ₹2 L/yr - ₹5.6 L/yr |
Field Engineer
306
salaries
| ₹2.4 L/yr - ₹6 L/yr |
Associate Officer
233
salaries
| ₹3 L/yr - ₹7.9 L/yr |
Senior Software Engineer
224
salaries
| ₹4.8 L/yr - ₹17.5 L/yr |
Deputy Manager
213
salaries
| ₹7.5 L/yr - ₹24 L/yr |
Bharti Airtel
Tata Communications
Vodafone Idea
Tech Mahindra