Filter interviews by
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
Top trending discussions
posted on 10 Jul 2024
I applied via Company Website and was interviewed in Jun 2024. There was 1 interview round.
The program capitalizes the first letter of each reversed word in a sentence.
Split the sentence into an array of words using space as a delimiter.
Reverse each word in the array and capitalize the first letter.
Join the modified words back into a sentence.
I was interviewed before Mar 2021.
Round duration - 60 Minutes
Round difficulty - Easy
Given a binary tree of integers, return the level order traversal of the binary tree.
The first line contains an integer 'T', representing the number of te...
Return the level order traversal of a binary tree given in level order with null nodes represented by -1.
Create a queue to store nodes for level order traversal
Start with the root node and add it to the queue
While the queue is not empty, dequeue a node, print its value, and enqueue its children
Repeat until all nodes are traversed in level order
Round duration - 45 minutes
Round difficulty - Easy
A deadlock in DBMS occurs when two or more transactions are waiting for each other to release locks, causing them to be stuck indefinitely.
Deadlock is a situation where two or more transactions are unable to proceed because each is waiting for the other to release locks.
To prevent deadlocks, DBMS uses techniques like deadlock detection and prevention algorithms.
Joins in DBMS are used to combine rows from two or more ta...
Round duration - 60 Minutes
Round difficulty - Medium
Design a system for Twitter
Key components: user profiles, tweets, hashtags, timelines
Architecture: microservices, load balancers, databases, caching
Scalability: sharding, replication, CDN
Real-time processing: streaming APIs, push notifications
Round duration - 60 Minutes
Round difficulty - Medium
You are provided with an array of ‘N’ integers and ‘Q’ queries. Each query requires calculating the maximum subarray sum in a specified range of the array.
The first ...
Implement a function to calculate maximum subarray sum queries in a given range of an array.
Iterate through each query and calculate the maximum subarray sum within the specified range using Kadane's algorithm.
Keep track of the maximum sum found so far and update it as needed.
Return the maximum subarray sum for each query in the test case.
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
The first line contains an integer 'T' representing the n...
Sort an integer array containing only 0s, 1s, and 2s in linear time complexity.
Use a single scan over the array to sort it in-place.
Maintain three pointers for 0s, 1s, and 2s and swap elements accordingly.
Example: Input: [0, 2, 1, 2, 0], Output: [0, 0, 1, 2, 2]
Round duration - 20 Minutes
Round difficulty - Medium
Tip 1 : Prepare DS and Algo
Tip 2 : Prepare Dynamic programming
Tip 1 : Good in DS and algo that will be help in the interview that is very neccassry
Tip 2 : Prepare DBMS
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
1st round is coding assessment round based on graph and hashmaps
Print the longest increasing subsequence of an array of strings.
Use dynamic programming to find the longest increasing subsequence.
Iterate through the array and keep track of the longest increasing subsequence ending at each index.
Return the longest increasing subsequence found.
I was interviewed in Oct 2021.
Round duration - 90 minutes
Round difficulty - Hard
They gave around 7 days of time for attending the test.
It had 4 coding questions out of which I solved 2 fully and 2 partially.
Questions were medium-hard and based on DSA.
Given an array 'ARR' of 'N' distinct integers, determine the third largest element in the array.
The first line contains a single integer 'T' representing the numb...
Find the third largest element in an array of distinct integers.
Sort the array in descending order and return the element at index 2.
Handle cases where the array has less than 3 elements separately.
Consider edge cases like negative integers and duplicates.
Implement a wildcard pattern matching algorithm to determine if a given wildcard pattern matches a text string completely.
The wildcard pattern may include the...
Implement a wildcard pattern matching algorithm to determine if a given wildcard pattern matches a text string completely.
Create a recursive function to match the pattern with the text character by character.
Handle cases for '?' and '*' characters in the pattern.
Use dynamic programming to optimize the solution.
Check for edge cases like empty pattern or text.
For a given singly linked list, identify if a loop exists and remove it, adjusting the linked list in place. Return the modified linked list.
A...
Detect and remove loop in a singly linked list with O(n) time complexity and O(1) space complexity.
Use Floyd's Cycle Detection Algorithm to identify the loop in the linked list.
Once the loop is detected, use two pointers to find the start of the loop.
Adjust the pointers to remove the loop and return the modified linked list.
Example: For input 5 2 and elements 1 2 3 4 5, output should be 1 2 3 4 5.
Given two strings STR1
and STR2
, determine the length of their longest common subsequence.
A subsequence is a sequence that can be derived from another sequen...
The task is to find the length of the longest common subsequence between two given strings.
Implement a function to find the longest common subsequence length.
Use dynamic programming to solve the problem efficiently.
Iterate through the strings to find the common subsequence.
Handle edge cases like empty strings or equal strings.
Example: For input 'abcde' and 'ace', the longest common subsequence is 'ace' with a length of
Tip 1 : Practice programming daily
Tip 2 : Don't go after development when you are applying as a fresher, focus on DSA and CP.
Tip 3 : Apply for multiple companies.
Tip 1 : Keep it simple in one page
Tip 2 : Use novoresume.com for nice templates
Tip 3 : Mention your projects and experience clearly.
I was interviewed in Oct 2021.
Round duration - 50 minutes
Round difficulty - Medium
First round was a basic javascript problem-solving round. The interviewer judged my grasp on fundamental javascript concepts like objects, closures, polyfills, etc. It was during the afternoon and was conducted on google meet and leetcode playground.
The interviewer was very calm. I was first asked some general questions like why I'm applying for this role and what are the projects I've done.
You are given an N * N matrix of integers where each row and each column is sorted in increasing order. Your task is to find the positi...
This question asks to find the position of a target integer in a row-wise and column-wise sorted matrix.
Iterate through each row and column of the matrix
Compare the target integer with the current element
If the target integer is found, return the position as {i, j}
If the target integer is not found, return {-1, -1}
Round duration - 40 minutes
Round difficulty - Easy
One DSA Question along with some javascript questions were asked like hoisting, difference between JSX and Javascript etc.
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine th...
The question asks to find the total amount of rainwater that can be trapped in the given elevation map.
Iterate through the array and find the maximum height on the left and right of each bar.
Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on the left and right.
Sum up the trapped water for all bars and return the total amount.
Tip 1 : Focus on core Javascript fundamentals before becoming a framework ninja
Tip 2 : Have at least one (or more) good project(s) which shows your experience in frontend development
Tip 3 : Practice fundamental javascript questions and machine coding
Tip 1 : Clearly highlight the skills you have which match with the role you are applying for.
Tip 2 : Mention the work you have done in your internships related to your role (frontend in my case), work experience matters
Tip 3 : Mention some really good projects in your resume.
Tip 4 : Having some special achievements like SIH, Gsoc, etc. certainly helps but isn't compulsory.
based on 1 interview
Interview experience
Software Engineer
7
salaries
| ₹0 L/yr - ₹0 L/yr |
Front end Developer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Backend Developer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Development Engineer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Engineer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Freshworks
Zoho
Druva
Postman