Filter interviews by
Nothing to say......just applied for getting xyz
The diameter of a binary tree is the number of nodes on the longest path between any two leaves in the tree.
The diameter of a binary tree can be calculated by finding the height of the left subtree, the height of the right subtree, and the sum of the heights of the left and right subtrees plus 1.
The diameter of a binary tree does not necessarily pass through the root node.
Example: For the binary tree 1 -> 2 -> 4, the d
Top trending discussions
BFS Implementation of a jug question.
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There were 2 interview rounds.
posted on 18 Sep 2024
I applied via Shine and was interviewed in Aug 2024. There were 2 interview rounds.
Normal coding round with simple oa complexity
I applied via Job Portal and was interviewed in Jul 2024. There was 1 interview round.
I applied via Referral
A pn junction diode is a semiconductor device that allows current to flow in one direction only.
Consists of p-type and n-type semiconductor materials
When forward biased, allows current to flow easily
When reverse biased, blocks current flow
posted on 1 Feb 2024
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
based on 7 reviews
Rating in categories
Associate Recruiter
151
salaries
| ₹2.2 L/yr - ₹5.3 L/yr |
Technical Recruiter
147
salaries
| ₹2.5 L/yr - ₹6.7 L/yr |
Senior Technical Recruiter
88
salaries
| ₹3 L/yr - ₹7 L/yr |
Software Engineer
80
salaries
| ₹2 L/yr - ₹11.5 L/yr |
Softwaretest Engineer
63
salaries
| ₹2.5 L/yr - ₹7 L/yr |
TCS
Infosys
Wipro
HCLTech