Filter interviews by
I applied via LinkedIn and was interviewed in Jul 2021. There was 1 interview round.
Design a URL shortener
Generate a unique short code for each URL
Store the mapping of short code to original URL in a database
Redirect users to the original URL when they access the short code
LRU cache implementation using doubly linked list and hash map.
Use a doubly linked list to keep track of the order of elements in the cache.
Use a hash map to store the key-value pairs for fast access.
When a new element is added, check if the cache is full and remove the least recently used element.
When an element is accessed, move it to the front of the linked list.
Top trending discussions
posted on 15 Sep 2023
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used to provide a common base for multiple classes, while interfaces define a contract that implementing
The design pattern commonly used in Angular is the Observer pattern.
The Observer pattern is used to establish a one-to-many dependency between objects.
In Angular, Observables are used to implement the Observer pattern for handling asynchronous data streams.
Components in Angular often use Observables to subscribe to changes and react accordingly.
I applied via Naukri.com and was interviewed before Jun 2022. There were 3 interview rounds.
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
You are given a matrix MAT
of size 'N' * 'M', where 'N' is the number of rows and 'M' is the number of columns, along with a positive integer 'K'. Your task is to rotate the ma...
Rotate a matrix to the right 'K' times by shifting each column to the right 'K' times.
Iterate 'K' times to perform right rotation on the matrix
Shift each column to the right by one position in each rotation
Handle wrapping around the matrix when shifting columns
Return the matrix elements row-wise after 'K' rotations
Given a two-dimensional grid of size N x M
consisting of upper case characters and a string 'WORD', determine how many times the 'WORD' appears in the grid.
The 'WORD' can b...
Count how many times a given word appears in a 2D grid by moving in any of the eight possible directions.
Iterate through each cell in the grid and check if the word can be formed starting from that cell in any of the eight directions.
Use recursion to explore all possible paths from a starting cell to form the word.
Keep track of visited cells to avoid revisiting the same cell in the same path.
Return the count of how man
Round duration - 75 minutes
Round difficulty - Medium
Interview started with an introduction and walk through the resume for first 5 minutes. After that, interview asked few coding questions.
You are provided with a non-empty grid consisting of only 0s and 1s. Your task is to determine the maximum area of an island within the given grid.
An island consists of a...
Find the maximum area of an island in a grid of 0s and 1s.
Iterate through the grid and perform depth-first search (DFS) to find connected 1s.
Keep track of the area of each island found and return the maximum area.
Consider all four directions (horizontal, vertical, and diagonal) while exploring the island.
Handle edge cases like grid boundaries and already visited cells during DFS.
If no island is present, return 0 as the
Determine if there exists a Pythagorean triplet within a given array of integers. A Pythagorean triplet consists of three numbers, x, y, and z, such that x^2 + y^2 = z^2.
Check if there exists a Pythagorean triplet in a given array of integers.
Iterate through all possible triplets in the array and check if they form a Pythagorean triplet.
Use a nested loop to generate all possible combinations of three numbers from the array.
Check if the sum of squares of two numbers is equal to the square of the third number.
Given a Binary Tree of integers, you are tasked with finding the top view of the binary tree. The top view is the set of nodes visible when the tree is viewed fro...
Find the top view of a Binary Tree by returning a list of visible nodes when viewed from the top.
Traverse the Binary Tree in level order and keep track of the horizontal distance of each node from the root.
Use a map to store the nodes at each horizontal distance, and only keep the topmost node for each horizontal distance.
Return the values of the topmost nodes in the map as the top view of the Binary Tree.
Round duration - 90 minutes
Round difficulty - Medium
This round was focused on DSA along with short discussion on computer science fundamentals. For coding problems, I was asked to code the first problem only. For others, had to discuss the approach only. For computer science fundamentals, discussion on OOPS. Differences between process and threads were discussed.
Given a Binary Search Tree (BST) where two nodes have been swapped by mistake, your task is to restore or fix the BST without changing its structure.
The first...
Restore a Binary Search Tree by fixing two swapped nodes without changing its structure.
Identify the two nodes that are swapped by mistake in the BST.
Swap the values of the two identified nodes to restore the BST.
Perform an in-order traversal of the BST to verify the correct restoration.
Ensure no extra space other than the recursion stack is used for the solution.
Your task is to implement a Stack data structure using a Singly Linked List.
Create a class named Stack
which supports the following operations, each in O(1...
Implement a Stack data structure using a Singly Linked List with operations like getSize, isEmpty, push, pop, and getTop in O(1) time.
Create a class named Stack with methods for getSize, isEmpty, push, pop, and getTop.
Use a Singly Linked List to store the elements of the stack.
Ensure that each operation runs in constant time O(1).
Handle edge cases like empty stack appropriately.
Test the implementation with sample queri
Tip 1 : Focus on DSA as you will be judged mostly on that for entry-level software engineer profiles.
Tip 2 : Don't mug up the solution as you might not be able to recall the approach or you might face new question that you haven't seen earlier.
Tip 3 : Practice as much as possible from platforms like InterviewBit, LeetCode.
Tip 1 : Try not to mention those things about which you are not comfortable.
Tip 2 : Having one or two good projects in resume helps.
Tip 3 : Mention good competitive programming ranks (if any)
Tip 4 : Use overleaf.com for making a resume using Latex.
I applied via Campus Placement and was interviewed before Mar 2020. There were 4 interview rounds.
I appeared for an interview before May 2021.
Round duration - 45 Minutes
Round difficulty - Medium
A class booking application for students to schedule and manage their classes.
Create a class booking system where students can view available classes, book classes, and manage their schedule.
Include features like class search, class details, booking confirmation, and calendar view.
Implement user authentication to ensure only registered students can book classes.
Allow students to cancel or reschedule classes with proper...
Round duration - 60 Minutes
Round difficulty - Medium
The interviewer understand the current problem statement I was working on.
Asked the clarifying questions and alternative approaches to solve the same and their tradeoffs.
Also, asked about the technologies I was using in depth and reason for choosing the same.
You have a car with a gas tank of infinite capacity. There are 'N' gas stations located along a circular route, numbered from 0 to N-1. You begin your journey with an empty tank...
Find the starting gas station index to complete a circular route with gas and cost arrays.
Iterate through gas stations, keeping track of gas remaining after each station
If gas remaining is negative, reset starting station to current station + 1
If total gas remaining at the end is greater than or equal to total cost, return starting station index
Round duration - 45 Minutes
Round difficulty - Medium
This round was their with the CTO and was mostly the culture fitment round.
Round duration - 30 Minutes
Round difficulty - Easy
This round was with the cofounder and was mostly culture fitment.
Tip 1 : Practice questions on leetcode
Tip 2 : Understand the best solutions in depth and algorithm used
Tip 3 : Ask clarifying questions to the interviewer and break the problem to smaller sub parts
Tip 1 : Highlight your most impactful work on the resume
Tip 2 : Keep it easy to understand
I applied via Naukri.com and was interviewed before May 2018. There were 5 interview rounds.
The question is unclear and lacks context.
Please provide more information about the 'update shuttering system'.
Specify the time frame for the updates.
Clarify the purpose or objective of the updates.
Provide any relevant examples or scenarios.
I want to work as an execution engineer because I enjoy the challenge of overseeing and coordinating all aspects of a project.
As an execution engineer, I would have the opportunity to work on a variety of projects and oversee all aspects of their execution.
I enjoy the challenge of coordinating different teams and ensuring that everything runs smoothly.
While working on a formwork or quality team would be valuable experi...
Concrete is the most important as it provides the strength and durability to the structure.
Concrete is the backbone of any RCC structure.
It provides the strength and durability to the structure.
Reinforcements and formwork are important too, but without concrete, they are useless.
Proper mix design and curing of concrete are crucial for the longevity of the structure.
I applied via Company Website and was interviewed before Apr 2020. There were 4 interview rounds.
Mix design of concrete and BTech project
Mix design involves determining the proportions of cement, water, aggregates, and admixtures to achieve desired properties of concrete
Factors like strength, workability, durability, and cost are considered while designing the mix
BTech project can involve studying the effect of different mix designs on properties of concrete or developing a new mix design
Examples of BTech projects...
I applied via Campus Placement and was interviewed before Jun 2021. There were 4 interview rounds.
2 coding questions (1 DP + 1 Graph)
based on 1 review
Rating in categories
Senior Software Engineer
162
salaries
| ₹13 L/yr - ₹30 L/yr |
Software Engineer
83
salaries
| ₹9.6 L/yr - ₹20 L/yr |
Lead Engineer
39
salaries
| ₹20 L/yr - ₹40 L/yr |
Sdet Lead
19
salaries
| ₹20 L/yr - ₹41 L/yr |
Software Developer
16
salaries
| ₹12 L/yr - ₹21 L/yr |
Quess
L&T Construction
Ekart Logistics
Udaan