Filter interviews by
I applied via Approached by Company and was interviewed before Feb 2023. There was 1 interview round.
Check if a linked list is a palindrome
Traverse the linked list to find the middle point
Reverse the second half of the linked list
Compare the first half with the reversed second half
Top trending discussions
posted on 17 Sep 2024
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Comparing two strings using char pointers in C/C++
Use char pointers to iterate through each character of the strings
Compare characters at each position until a difference is found
Return 0 if strings are equal, -1 if first string is less than second, 1 if first string is greater
I applied via campus placement at BRACT's Vishwakarma Institute of Information Technology, Pune and was interviewed in Oct 2024. There was 1 interview round.
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types or classes.
Examples include method overloading and method overriding in object-oriented programming.
Find missing number from nth number array.
Iterate through the array and calculate the sum of all numbers
Calculate the sum of numbers from 1 to n using the formula n*(n+1)/2
Subtract the sum of array from the sum of numbers from 1 to n to find the missing number
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows a class to reuse code from another class.
Types of inheritance include single inheritance, where a class inherits from only one parent class, and multiple inheritance, where a class inherits from multiple parent classes.
Example: Class B inherits from Class A, so Class B can access
Find 2nd max element from array of strings
Sort the array in descending order
Skip the first element (max element)
Return the second element
Hacker rank, 3 questions with 1 hour duration
posted on 25 Sep 2024
I applied via Naukri.com and was interviewed in Mar 2024. There were 3 interview rounds.
I am proud of successfully leading a team to deliver a complex software project ahead of schedule.
Led a team to deliver a complex software project
Completed the project ahead of schedule
Received positive feedback from stakeholders
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 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
I applied via Referral and was interviewed in Nov 2023. There were 3 interview rounds.
Basic coding questions were there related to string operations
TLS handshake is the process of establishing a secure connection between a client and a server.
TLS handshake is initiated by the client and involves a series of steps to negotiate encryption parameters and exchange cryptographic keys.
It ensures the authenticity, integrity, and confidentiality of data transmitted over the network.
The handshake includes the ClientHello, ServerHello, Certificate Exchange, Key Exchange, an...
When you hit a URL in a browser, a request is sent to the server and the server responds with the requested webpage.
Typically, the browser sends an HTTP GET request to the server.
The server processes the request and generates a response.
The response may include HTML, CSS, JavaScript, and other resources needed to render the webpage.
The browser receives the response and renders the webpage for the user to view and inter...
I have worked on various protocols including HTTP, TCP/IP, and MQTT.
HTTP (Hypertext Transfer Protocol) - used for communication between web browsers and servers
TCP/IP (Transmission Control Protocol/Internet Protocol) - the foundation of the internet
MQTT (Message Queuing Telemetry Transport) - a lightweight messaging protocol for IoT devices
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
Software Engineer
82
salaries
| ₹10.5 L/yr - ₹25 L/yr |
Senior Software Engineer
64
salaries
| ₹11 L/yr - ₹28.5 L/yr |
Software Engineer2
53
salaries
| ₹12.4 L/yr - ₹20 L/yr |
Senior Test Engineer
23
salaries
| ₹13.8 L/yr - ₹23 L/yr |
Software Engineer II
15
salaries
| ₹12.6 L/yr - ₹18.5 L/yr |
Nokia
Cisco
Huawei Technologies
Juniper Networks