i
XpressBees
Filter interviews by
Top trending discussions
posted on 24 Jul 2024
I applied via Campus Placement and was interviewed in Jun 2024. There were 2 interview rounds.
Count the number of nodes in a sub-tree with the same label.
Traverse the tree using depth-first search (DFS)
Keep track of the count of nodes with the same label in each sub-tree
Return the count for each sub-tree
I am fairly efficient in cooking and enjoy experimenting with new recipes.
I can follow recipes accurately and efficiently
I am good at multitasking in the kitchen
I enjoy trying new ingredients and techniques
I can cook a variety of cuisines, from Italian to Asian to Mexican
I am comfortable using kitchen appliances and tools
I applied via Campus Placement and was interviewed in Nov 2023. There were 2 interview rounds.
5 MCQ questions, and 1 coding question similar to Leetcode medium-hard level (topic-greedy).
posted on 22 Oct 2024
I applied via Campus Placement
1 hr , 3 sum leetcode question
I applied via campus placement at Thapar Institute of Engineering and Technology (TIET) and was interviewed in Nov 2022. There were 3 interview rounds.
I was interviewed in Jan 2021.
Round duration - 90 Minutes
Round difficulty - Easy
It was a telephonic round. The interview asked me these questions.
You have two ropes coated in oil to help them burn. Each rope will take exactly 1 hour to burn all the way through. However, the ropes do not burn at constant rates—there are spots where they burn a ...
1. Dynamic memory allocation for 2d array
2. How polymorphism works in C++(Vptr and Vtable implementation)
Round duration - 60 Minutes
Round difficulty - Medium
The interviewer started asking me questions. He gave me 2 problems. He was giving hints in case of any issues.
Here, we can simply run two loops. The outer loop picks all elements one by one and the inner loop finds the frequency of the picked element and compares it with the maximum present so far.
There is an online catalog of songs (Like Saavn or Gaana). How you will show favorite songs every day to users. An efficient algorithm required. (K max solution/ Min heap solution)
Round duration - 60 Minutes
Round difficulty - Medium
This was a technical interview. He gave me these questions one by one.
1. Again, how polymorphism works. Draw vtable and vptr
2. Producer consumer problem with synchronization
3. Difference between mutex, semaphore, and condition_variable.
4. Design parking lot system
5. Zigzag traversal of binary tree
Design parking lot system
Our very basic intuition is that we are going to traverse the given binary tree using level order traversal where we just need to modify one thing that for every alternate level we need to reverse the order that level.
Steps are as follows:
Round duration - 90 minutes
Round difficulty - Medium
1. He asked about the producer-consumer problem but I told him that the same question is asked in the previous round.
Then interviewer went asking lots of questions related to producer and consumer. Lots of discussions like what is a writer is not there and the only reader is there and you need to find out how many readers are currently reading from the buffer.
2. Discussions about C++11 features. How thread and async is different
3. Design your own shared_ptr(How you will handle ownership)
4. Check If the binary tree is symmetrical.
5. Find elements in a rotated sorted array and then optimize it.
We do two inorder traversals recursively of the tree simultaneously. For the first traversal, we traverse the left child first and then the right child, and in the second traversal, we traverse the right child first and then the left child. Let cur1 and cur2 be the current nodes of the first and second traversals respectively and initially both of them are passed as root. Then the algorithm f...
Naively traverse the array and find if ‘K’ is present in ARR or not. If ‘K’ is present in ARR return its index else return -1.
Space Complexity: O(1)Explanation:O(1), i.e. constant space complexity.
Time Complexity: O(n)Explanation:O(N), where N is the length of the array/list.
We are iterating over the array/list ARR once. Hence, the time complexity is O(N).
/*
Time Compl...
Tip 1 : Don't lie on your resume.
Tip 2 : Practice at least 400 different types of coding problems.
Tip 3 : Work on your communication skills.
Tip 1 : Don't put false things on your resume.
Tip 2 : Mention some good projects on your resume.
posted on 15 Sep 2021
I was interviewed in Jan 2021.
Round duration - 90 minutes
Round difficulty - Hard
Timing was 11 am. Platform was quite well.
Approach: We can start the traversal of the paths from the rat’s starting position, i.e. (0,0) keeping track of the visited cells during the traversal. We will recursively go through all the paths possible until the last index of the grid (destination) is reached, and add the path information using which the rat successfully reached the end.
Algorithm is as follows:
Maintain a visited array and try to explore all the possibilities with the help of backtracking.
Tip 1 : Practice data structure based questions.
Tip 2 : OOPS is very important.
Tip 3 : Prepare OS and DBMS for mcq.:
Tip 1 : Have some projects on resume.
Tip 2 : Keep it short.
posted on 16 Sep 2021
I was interviewed before Sep 2020.
Round duration - 90 mintues
Round difficulty - Easy
Timing it is around 11 am and Environment is good .
You are not allowed to use any extra space other than the internal stack space used due to recursion.
You are not a...
We will be using two recursive methods:
Round duration - 90 minutes
Round difficulty - Medium
Environment was very friendly but questions asked are very hard.
Our Brute force approach will figure out all the possible combinations possible. To find a subarray, we need to know both the starting point and the ending out of the array. We can make a loop that would iterate through the array. During each iteration, we will make another nested loop inside which will take all possible combinations where the starting index will be the pointer of the parent loop an...
O(1)
Since we only use constant space.
Time Complexity: O(m*n) - For 2d arraysExplanation:O(N * M), where N and M are the lengths of the first and second linked lists respectively.&n...
Tip 1 : Practice Atleast 500 Questions
Tip 2 : Do atleast 1 good projects
Tip 3 : You should be able to explain your project
Tip 1 : Do not put false things on resume.
Tip 2 : Have some projects on resume.
I was interviewed before Jan 2021.
Round duration - 75 minutes
Round difficulty - Easy
Simple question based on strings was given. MCQs based on basic aptitude and programming questions were asked.
Tips: Time management is important. Remember all the syntaxes
If the given string is: STR...
This can be done by iterative swapping using two pointers. The first pointer points to the beginning of the string, whereas the second pointer points to the end. Both pointers keep swapping their elements and go towards each other. Essentially, the algorithm simulates the rotation of a string with respect to its midpoint.
Time Complexity : O(n)
Round duration - 60 minutes
Round difficulty - Easy
It was a good experience.
Tips: If you don't know something just tell them. Don't try to answer something if you don't know anything about it
The idea is to create a new character array and copy the characters from the original String before the given position
After that, we put the new character at the position and copy the rest of the characters from the original String in the subsequent positions of the new array.
Other option can be to directly use the already defined methods such as insert().
Hashing can be used to approach this problem.
Use a hash map and maintain count of the occurrences of all the characters in the string which character as the string and count as the value. At last, traverse the hash map and print all those characters with count > 1.
Time Complexity : O(N) where N is the length of the string
Space Complexity : O(N)
Round duration - 30 minutes
Round difficulty - Easy
It was easy. I could answer the first question. Second one I answered really badly
Q1. Explain the projects that I've done
Q2. What did you learn about PayPal today?
Q3. Why join PayPal?
Tip 1 : Explain the projects done in the best possible way
Tip 2 : Get to know about the company as much as possible via seniors
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Revise C++/Java.
Tip 3 : If you don't know much of C++/Java at least write the codes in C.
Tip 4 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 3 Jul 2023
Senior Executive
342
salaries
| ₹1.9 L/yr - ₹7.1 L/yr |
Operations Executive
287
salaries
| ₹1.9 L/yr - ₹5.3 L/yr |
Supervisor
266
salaries
| ₹1 L/yr - ₹3.5 L/yr |
Executive
252
salaries
| ₹1.8 L/yr - ₹4.8 L/yr |
Associate Manager
185
salaries
| ₹4.6 L/yr - ₹11 L/yr |
Delhivery
Ecom Express
Shadowfax Technologies
Rivigo