Filter interviews by
I applied via Naukri.com and was interviewed before Jan 2020. There were 4 interview rounds.
Abstract class is a class that cannot be instantiated and can have both abstract and non-abstract methods. Interface is a blueprint for a class and can only have abstract methods.
Abstract class can have constructors while interface cannot
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract class can have instance variables while interface cannot
Abstract class is used for code r...
Multiple credentials can be logged in using data from an excel sheet.
Read the excel sheet using a library like Apache POI
Iterate through the rows and columns to get the data
Use a loop to login with each set of credentials
Assert the login success or failure for each set of credentials
Top trending discussions
MVC life cycle, AJAX call and passing data from view to partial view.
MVC life cycle includes request routing, controller instantiation, action execution, and rendering of the view.
AJAX call is initiated by sending an HTTP request to the server and receiving a response in the form of JSON or XML data.
To pass data from one view to a partial view, we can use ViewBag, ViewData, or TempData.
ViewBag is a dynamic object that ...
Abstract class is a class that cannot be instantiated, while interface is a contract that defines methods.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have instance variables, while interface cannot.
Abstract class is used for code reusability and polymorphism, while interface is used for achieving abstraction and loose coupling.
In serv...
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 50 minutes
Round difficulty - Easy
This was a Data Structural round.
Given a two-dimensional array/list consisting of integers 0s and 1s, where 1 represents land and 0 represents water, determine the number of distinct islands. A group of...
Count the number of distinct islands in a 2D array of 0s and 1s.
Identify islands by performing depth-first search (DFS) on the grid
Use a set to store the shape of each island and check for duplicates
Consider translations to determine distinct islands
Round duration - 50 minutes
Round difficulty - Easy
This was a Data Structural round.
You are tasked with arranging 'N' words of varying lengths such that each line contains at most 'M' characters, with each word separated by a space. The challenge is to minimiz...
The goal is to minimize the total cost of arranging 'N' words on each line with a maximum character limit 'M'.
Calculate the cost of each line as the cube of extra space characters needed to reach 'M'.
Minimize the total cost by arranging words to fit within the character limit on each line.
Ensure each word appears fully on one line without breaking across lines.
Round duration - 60 minutes
Round difficulty - Easy
This was a System Design round.
Design a system similar to Red Bus for handling bookings and onboarding vendors and customers.
Implement a user-friendly interface for customers to search and book tickets
Create a vendor portal for vendors to manage their offerings and availability
Include payment gateway integration for secure transactions
Develop a robust backend system for managing bookings, cancellations, and refunds
Utilize a database to store user in
Round duration - 50 minutes
Round difficulty - Easy
This was a System Design round
Round duration - 50 minutes
Round difficulty - Easy
This was an HR round.
Tip 1 : Practice as much as you can.
Tip 2 : Prepare for company, not in general.
Tip 3 : Your past work should be objective and your contribution should be very clear
Tip 1 : Keep only relevant things for the job you are applying.
Tip 2 : Minimal data with measurable contribution and effect.
posted on 8 Apr 2021
posted on 4 Mar 2021
Learning programming languages is important for software engineers to effectively communicate with computers and develop software solutions.
Programming languages are the foundation of software development.
Learning multiple languages expands the range of problems a software engineer can solve.
Different languages have different strengths and are suited for different tasks.
Knowing multiple languages improves adaptability ...
I appeared for an interview in Jan 2021.
Merge sort and Quick sort are sorting algorithms while Fibonacci is a sequence of numbers.
Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts each half and then merges them.
Quick sort is also a divide and conquer algorithm that selects a pivot element and partitions the array around the pivot.
Fibonacci is a sequence of numbers where each number is the sum of the two precedin...
I applied via Company Website and was interviewed in Nov 2020. There were 3 interview rounds.
I applied via Company Website and was interviewed before Sep 2020. There were 3 interview rounds.
posted on 5 Dec 2021
I applied via Campus Placement and was interviewed before Dec 2020. There were 4 interview rounds.
Use Dijkstra's algorithm to find the shortest path between 2 vertices in a graph.
Implement Dijkstra's algorithm to find the shortest path
Create a priority queue to keep track of the vertices with the shortest distance
Use a visited set to avoid revisiting vertices
Stop when the destination vertex is reached
Return the shortest path found
Example: finding the shortest path between A and D in a graph with weighted edges: A->...
Find pairs in an array with sum equal to 0.
Use a hash table to store the frequency of each element.
Iterate through the array and for each element, check if its complement (negative value) exists in the hash table.
If it exists, add the frequency of the complement to the count of pairs.
Return the count of pairs.
Example: array = [2, -2, 3, 0, -3], pairs = 2 (-2, 2 and -3, 3)
Content Analyst
53
salaries
| ₹2.7 L/yr - ₹9 L/yr |
Senior Software Engineer
29
salaries
| ₹17 L/yr - ₹33 L/yr |
Software Engineer
24
salaries
| ₹10 L/yr - ₹22 L/yr |
Software Developer
23
salaries
| ₹22.8 L/yr - ₹28.7 L/yr |
QA Engineer
16
salaries
| ₹4.5 L/yr - ₹17.1 L/yr |
24/7 Customer
Microsoft Corporation
SAP