Filter interviews by
I applied via Internshala and was interviewed in May 2021. There were 4 interview rounds.
Top trending discussions
There were DSA questions and time limit was 1 hr
Factorial calculation using tabulation in dynamic programming
Create an array to store factorial values up to n
Initialize the array with base cases (0! = 1, 1! = 1)
Iterate from 2 to n and calculate factorial using previous values in the array
Return the factorial value at index n
posted on 16 Jul 2024
I applied via Campus Placement and was interviewed in Jun 2024. There were 2 interview rounds.
The aptitude test was medium level.
Find pairs in array that sum up to a given target value.
Iterate through the array and store each element in a hash set.
For each element, check if the target value minus the current element exists in the hash set.
Return the pair of elements that sum up to the target value.
Check if two strings are anagram of each other
Create character count arrays for both strings
Compare the character count arrays to check if they are equal
Example: 'listen' and 'silent' are anagrams
4 coding problems + 1 sql problem
Given a binary tree, return the inorder traversal of its nodes' values.
Inorder traversal: left subtree, root, right subtree
Use recursion to traverse the tree
Implement a stack-based iterative solution for better space complexity
posted on 31 May 2022
I was interviewed in May 2022.
Round duration - 90 minutes
Round difficulty - Medium
Timings: it was late night. I started the test at 10 pm
Check if a given binary tree is a Partial Binary Search Tree (BST). A Partial BST adheres to the following properties:
Round duration - 45 minutes
Round difficulty - Medium
It was the interviw round.
the environment was good.
the interviewer was very nice to me.
You are provided with two sorted linked lists. Your task is to merge them into a single sorted linked list and return the head of the combined linked list.
...Tip 1 : Please have a strong hold on data structures mainly linked lists, arrays, maths, stacks, trees
Tip 2 : Must explore about DBMS. Means SQL, writing efficient queries, about indexing and other SQL backend process.
Tip 3 : Should work on spring boot. try build some project using spring boot with java (Gradle) as Jupiter's backend tech is mainly based on spring boot with java.
Tip 1 : Mention only those skills on which you have worked on properly. no need to flood the resume with skills about which you need a little.
Tip 2 : Must mention the links of projects which you have worked on.
I was interviewed in May 2022.
Round duration - 60 Minutes
Round difficulty - Medium
This round was scheduled with the SDE-2, we started with the introduction than he jumped to the dsa questions. First question he asked me was leetcode 3 sum problem, we discussed the approach than I wrote the code for that problem. Second question was of arrays and maps I didn't remember the exact question but that was also some modified version of k sum subarray. Than he asked many questions related to oops, I answered most of them than he asked me for any qiuestions and we dropped the call.
Given an array or list ARR
consisting of N
integers, your task is to identify all distinct triplets within the array that sum up to a specified number K
.
A t...
You are provided with an array arr
of size N
and an integer K
. Your objective is to compute the maximum sum of a subset of the array such that this sum does not exceed K
.
In this approach, we will iterate over all the possible subsets of the given array, and then we will find the maximum sum subset whose sum is not greater than K.
The total number of subsets of an array is 2^N or 1 << N in the bitshift operator.
Algorithm:
Round duration - 40 Minutes
Round difficulty - Medium
This round was arranged with the Engineering Manager, we started with the introduction then he asked me to explain my project, I did that. After that he asked me one pattern question, I coded that than he asked me one more array question of finding mean, mode, median, I partially solved that question. Than he asked me for any questions and we dropped the call.
Create a grid pattern of size R rows and C columns, where each cell contains a diamond-like shape of size S. The diamond shape is made with characters ‘/’ and ‘\’ for the bord...
Approach: Since each diamond’s size is (2 * s) * (2 * s). So the total size of the grid will be (2 * s * r) * (2 * s * c). So we will iterate in all the points on the grid and use some basic algebra(modular arithmetics) to find the diamond to which this point belongs. Then we can identify the type of location(i.e. either this point is a boundary or not) as we can divide the diamond into four equal parts(top-...
Given an integer array ARR
of size N
, you need to compute the following three statistical measures:
mean()
to calculate the mean o...I really didn't remember the eaxct approach that I used.
Tip 1 : Practice at least 300 Questions from leetcode
Tip 2 : Prepare your project.
Tip 1 : Add at least 4 projects.
Tip 2 : Add your coding profiles and GPA.
I was interviewed in Nov 2020.
Round duration - 60 minutes
Round difficulty - Easy
I had the flexibility to schedule it according to my time zone as the internship was Singapore based so I scheduled it at 9 am in the morning. The environment was similar to pair programming where the interviewer was a software enginner at stripe and asked me to code on any IDE with my screen share enabled. He shared the question on some online coding platform so it depends on you whether you want to use the coding platform or your own IDE. My language was python. The question was to figure out the optimal way to set the servers so that the servers are down for the minimum. One interesting part was to write the unit tests according to check the code on various test cases. I didn't know unit testing in python that time so it left a bad impression definitely. Other than the interviewer was really nice. After the interview ended, he told me about my shortcomings and also told me to learn about unit tests and testing.
Your task is to determine if two given strings are anagrams of each other. Two strings are considered anagrams if you can rearrange the letters of one string to form the...
The task is to determine whether two given strings form an anagram pair or not.
Check if the lengths of the two strings are equal. If not, they cannot be anagrams.
Create a frequency map of characters for both strings.
Compare the frequency maps of both strings. If they are equal, the strings are anagrams.
Return True if the strings are anagrams, False otherwise.
Tip 1 : Have a good LinkedIn profile
Tip 2 : Have good projects on Github
Tip 3 : Practice coding questions
Tip 1 : In projects, mention the tech stack used
Tip 2 : Keep it simple and concise preferably 1 page
I applied via campus placement at Indian Institute of Technology (IIT), Mandi and was interviewed in Jul 2023. There was 1 interview round.
I was interviewed in Feb 2021.
Round duration - 90 minutes
Round difficulty - Easy
The online round had 2 coding questions and one question of a regular expression.
Given an array of integers ARR
of length N
and an integer Target
, your task is to return all pairs of elements such that they add up to the Target
.
The first line ...
Given a sequence ARR
consisting of N
integers, your task is to identify the longest subsegment of ARR
, where you can change at most one number to make the subsegmen...
Here, the idea is to calculate the longest increasing subarray for every element by taking it as the starting as well as the ending point.
Here is the algorithm:
Round duration - 60 minutes
Round difficulty - Easy
First 10 minutes started with the Introduction. Then he asked about my projects. He seemed interested in my projects and asked a lot of questions about them. He asked questions related to Node Js, React Js, Mongo DB, AWS as all these were mentioned in my Resume. Around 25 minutes was completed explaining each and everything.
Then he started with the coding questions. I was allowed to share my screen and use any of my favourite text editors. I chose ‘VS Code’.
I was able to solve 2 coding questions very easily. I got stuck in the puzzle as I didn’t solve any puzzles before. I was able to come up with different approaches, but they weren’t the most optimal. He tried giving me a lot of hints but still wasn’t able to solve it. I had a positive can-do attitude throughout, and I was really close to solving it.
Feedback: He told me I performed well and asked if I had any questions for him. I asked for the solution to the puzzle. He explained to me the solution and I told him that I will practice puzzles.
Around 5-6 students got selected for 2nd Interview.
You are provided an array ARR
of integers. Your task is to rearrange this array such that all elements with zero values are moved to the left, and all non-zero elements follow them, pre...
The idea is to use an extra vector to store all the non-zero elements while maintaining their relative order. So we will first add all the non-zero elements to a vector and then iterate that vector backwards and start updating the array values from end. In the end we will set all the array values whose values were not updated to 0.
Steps:
Given an array of integers and a number K
, your task is to form pairs of elements from the array such that the absolute difference between them is st...
Approach: We sort the given array in increasing order. For every element, we try to pair it with its previous element first. Since the array is sorted, the value of ‘ARR[i]’ would be more than ‘ARR[i - 1]’. We need to pair with a difference less than ‘K’, which means if 'ARR[i - 2]' can be paired, then ‘ARR[i - 1]’ can also be paired in a sorted array. Here, we prefer the previous element so that if ‘ARR[i]’ - ‘...
Round duration - 35 minutes
Round difficulty - Medium
It started with a brief Introduction and in-depth discussions on projects. He also asked me a lot of questions about my previous internship. He asked me some behavioural questions as well.
I was able to solve the question, and he did not ask me any other questions. This round was really short for me and was finished in around 35 minutes, well before time. I asked about my feedback, and he told me that the ‘HR’ will get back to me. I thought he was not satisfied with my answers and I will be rejected though I gave very good answers to every question.
3 students got selected for the next round. I think he was satisfied and did not want to waste more time asking questions.
You are provided with two arrays representing the coefficients and degrees of a polynomial expression. Your task is to simplify this polynomial into its general...
O(K), where ...
Round duration - 60 minutes
Round difficulty - Medium
It started with an introduction and discussion on projects. He seemed very curious about my project and went ahead to cross-question every functionality. We discussed everything and how the code works. He asked me a lot of questions on ‘Socket’ as my project mentioned it.
HR-related questions such as:
Why do you want to join the company?
Where do you see yourself in the next 5 years?
What are your strengths and weakness?
Tip 1 : Must know the standard algorithms (eg: searching, sorting)
Tip 2 : Practise mock interviews with your friends
Tip 1 : Project with the deployed link and Github link
Tip 2 : Don't put information which is not relevant to the job profile
posted on 6 Apr 2022
I was interviewed in Oct 2021.
Round duration - 120 minutes
Round difficulty - Medium
The online test was for 2 hrs in which 5 coding questions were asked. 3 questions were pretty easy and 2 were of medium difficulty level. I was able to solve all 5 questions.
The city of Ninjaland is represented as an unweighted graph with houses and roads. There are 'N' houses numbered 1 to 'N', connected by 'M' bidirectional roads. A road...
Round duration - 60 minutes
Round difficulty - Medium
It started with the introduction and then we had a discussion on the projects I had made. He asked for several Backend and Database concepts like locking in DB, sessions, etc as I had mentioned backend internship in my resume. It took around half an hour.
Then he gave me a coding question based on the graph
You are given a matrix having N
rows and M
columns. Each cell of the matrix contains either 'X' or 'O'. Your task is to flip all the regions of 'O' that are completely sur...
Tip 1 : Practice 250+ standard quality questions.
Tip 2 : Do some good real-life projects in Front-end or Backend Development
Tip 3 : Try to find an internship that will not only enhance your development skills but also increase your resume selection chances.
Tip 1 : Add quality projects (2 will be sufficient)
Tip 2 : Add your coding profile links.
Collections Executive
32
salaries
| ₹2 L/yr - ₹4 L/yr |
Data Scientist
23
salaries
| ₹8.5 L/yr - ₹17 L/yr |
Assistant Manager
21
salaries
| ₹4.8 L/yr - ₹18.5 L/yr |
Sales Executive
19
salaries
| ₹2.7 L/yr - ₹3.8 L/yr |
Data Analyst
18
salaries
| ₹4 L/yr - ₹13.1 L/yr |
MoneyTap
ZestMoney
Slice
Paysense Services India