Tip 1 : Keep it concise and to the point.
Tip 2 : Do not exaggerate or pretend to be a certain way.
Tip 3 : Use correct and non-ambiguous language.
Tip 4 : Don't mention everything on there but the best and relevant stuff of all
Tip 1 : Keep it concise and to the point.
Tip 2 : Do not exaggerate or pretend to be a certain way.
Tip 3 : Use correct and non-ambiguous language.
Tip 4 : Don't mention everything on there but the best and relevant stuff of all
The test was conducted on the AMCAT platform, with webcam and tab-switch monitoring. All questions were mandatory to answer. Coding questions were 2, one being difficult and another's the one given below.



1. Do not print anything, just implement the provided function and return the number of mismatching bits for the given numbers.
For example, let "first" be 11 and "second" be 15. Writing both the given numbers in binary we get first = 1011(binary representation of 11) and second = 1111(binary representation of 15) we can see all the bits are the same except the second bit



All the elements of the binary search tree are unique.
A binary search tree (BST), also called an ordered or sorted binary tree, is a rooted binary tree whose internal nodes each store a key greater than all the keys in the node's left subtree and less than those in its right subtree.
This technical interview was scheduled at 9 AM for me.



ARR = [5, 7], N = 2, M = 2
Perform the following two operations on ‘ARR’:
1. Divide the bag with 7 balls into 3 and 4. New ARR = [3, 4, 5].
2. Divide the bag with 5 balls into 1 and 4. New ARR = [1, 3, 4, 4].
The bag with the maximum number of balls has 4 balls. Hence, the minimum possible value of ‘X’ is 4. Return 4 as the answer.
1. You can perform any number of operations between [0, M], both included.
2. Avoid using the 'Modulo' operator as it can cause Time Limit Exceeded.
You are given an integer array ‘ARR’ of size ‘N’, where ‘ARR[i]’ denotes the number of balls in the ‘i-th’ bag. You are also given an integer ‘M’, denoting the maximum number of operations you can perform on ‘ARR’ (the given collection of bags).
In each operation, you can do the following:
Choose a bag from the collection and divide it into two new bags such that each bag contains a positive (non-zero) number of balls. Remove the chosen bag from the collection and add the new bags into the collection.
After performing the operations, let ‘X’ be the maximum number of balls in a bag. The task is to find the minimum possible value of ‘X’ and return it.
I was asked to design a Food Delivery App (Swiggy). This round revolved around designing database schemas. I was given around 20 minutes to identify the various entities involved in the system, establish the relationships between these entities and also identify the primary key - foreign key constraints. After 20 minutes, we had a good discussion on my findings and corrections with respect to certain attributes I may have missed out in my design.
A few complex SQL queries were also asked related to the above schemas.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?