Filter interviews by
I applied via Campus Placement and was interviewed before Aug 2023. There were 4 interview rounds.
20 - 30 min easy aptitude test with Math questions
Algorithm question, explain approach
Python is a high-level, interpreted language known for its simplicity and readability. C++ is a lower-level, compiled language with more control over memory management.
Python is easier to learn and write code quickly compared to C++.
C++ allows for more control over memory management and is typically faster than Python.
Python is commonly used for neural networks due to its simplicity and readability.
C++ is also used for...
Top trending discussions
Data structure implementation in Python
Use built-in data structures like lists, dictionaries, sets, etc.
Implement custom data structures like linked lists, stacks, queues, trees, etc.
Utilize libraries like NumPy for efficient array operations
Practice implementing algorithms using data structures
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
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
Hacker rank, 3 questions with 1 hour duration
posted on 8 Oct 2024
posted on 24 Apr 2024
Total 60 question 30 from C/C++ output and 30 from profit-loss, find age and related to ratio
To rotate a matrix 90 degrees, transpose the matrix and then reverse each row.
Transpose the matrix by swapping matrix[i][j] with matrix[j][i]
Reverse each row of the transposed matrix to get the final rotated matrix
Iterative solution to perform preorder traversal without using recursion
Use a stack to keep track of nodes
Start by pushing the root node onto the stack
While the stack is not empty, pop a node, visit it, then push its right child followed by its left child onto the stack
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
Interview experience
Software Engineer
81
salaries
| ₹10.5 L/yr - ₹25 L/yr |
Senior Software Engineer
63
salaries
| ₹11 L/yr - ₹28.5 L/yr |
Software Engineer2
52
salaries
| ₹12 L/yr - ₹20 L/yr |
Senior Test Engineer
22
salaries
| ₹13.8 L/yr - ₹23 L/yr |
Software Engineer II
15
salaries
| ₹12.6 L/yr - ₹20 L/yr |
Nokia
Cisco
Huawei Technologies
Juniper Networks