Filter interviews by
I applied via Company Website and was interviewed in Sep 2023. There were 3 interview rounds.
There were 2 coding questions and 20 aptitude questions. Coding questiins were based in trees and graphs
Use Floyd's Tortoise and Hare algorithm to detect cycle in a linked list.
Initialize two pointers, slow and fast, at the head of the linked list.
Move slow pointer by one step and fast pointer by two steps.
If they meet at any point, there is a cycle in the linked list.
If fast pointer reaches the end of the list, there is no cycle.
Packets travel in a switch network by being forwarded based on the destination MAC address.
Packets are received by the switch on an incoming port.
The switch looks up the destination MAC address in its MAC address table.
If the MAC address is found, the packet is forwarded out the corresponding port.
If the MAC address is not found, the packet is flooded out all ports except the incoming port.
Switches operate at Layer 2 o
Top trending discussions
DATA STRUCTURES,JAVA,COMPUTER NETWORKS
Dsa round on hackerrank
Very good but easy
easy question long question
posted on 8 Oct 2024
Difficult online round
Arrays are a collection of strings in programming used to store multiple values under a single variable name.
Arrays are declared using square brackets []
Each element in an array is accessed by its index, starting from 0
Example: var fruits = ['apple', 'banana', 'orange']
Trees in neet code refer to the implementation of tree data structures in coding challenges on the platform NeetCode.
Trees are a common data structure used in coding challenges to represent hierarchical relationships between data.
Common tree operations include traversal (inorder, preorder, postorder), insertion, deletion, and searching.
Examples of tree-related coding challenges on NeetCode include implementing a binary...
Trees in leetcode are a common topic for coding interviews, involving various tree traversal and manipulation techniques.
Understand different tree traversal methods like inorder, preorder, and postorder.
Learn about common tree algorithms like finding the height, diameter, and lowest common ancestor.
Practice solving tree-related problems on leetcode to improve your skills.
posted on 26 Jul 2024
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
posted on 30 Oct 2024
Tuple and list are data structures in Python. Tuple is immutable and ordered, while list is mutable and ordered.
Tuple is immutable, meaning its elements cannot be changed after creation
List is mutable, meaning its elements can be changed after creation
Tuple is ordered, meaning it maintains the order of elements
List is ordered, meaning it maintains the order of elements
Example of tuple: (1, 2, 3)
Example of list: [1, 2,
based on 4 reviews
Rating in categories
Software Engineer
206
salaries
| ₹14.6 L/yr - ₹60 L/yr |
Softwaretest Engineer
28
salaries
| ₹12 L/yr - ₹41.2 L/yr |
Software Developer
27
salaries
| ₹14.9 L/yr - ₹45 L/yr |
Technical Solutions Engineer
13
salaries
| ₹8 L/yr - ₹22 L/yr |
Senior Software Engineer
12
salaries
| ₹15.5 L/yr - ₹56.6 L/yr |
Cisco
Juniper Networks
Hewlett Packard Enterprise
Extreme Networks