Tip 1: Prepare all Topics from Coding Ninjas of Course Competitive Programming. Also, I practiced at least one question every day from sites like CodeStudio and also took part in CodeStudio Contest.
Tip 2: Do Competitive Programming regularly.
Tip 1 : Keep your resume up to date and mention 2-3 good level projects which will give a good impression to the interviewer .
Tip 2 : Don't put false things on the resume.
This round was conducted on Google Meet with 2 interviewers present. They were helpful and made interview experience seemless.
The Time was around 10 A.M - 11 A.M.
I had to Implement an e-commerce platform application with following features
1. We would be able to onboard (add) users to the system
2. The application allows sellers to list products on the platform.
3. Users can either sell a product (Seller) or buy any listed product(Buyer).
4. Users(buyer) can select a product from multiple offered products using a selection strategy (You can assume buyer can only buy single quantity of a product at one time). Currently we have only two stratgies available;
-> One with best rating i.e. highest rating. If ratings are the same, then
choose the one with the lowest price.
-> One with lowest price i.e. lowest product price. If prices are the same,
then choose the one with the best rating.
5. List all products sold/bought by any user.
Bonus Feature
A buyer can cancel a specific product which he/she has purchased. Seller’s product quantity should increase after cancellation.
This round was conducted on Google Meet with 2 interviewers present.
The time was around 2 PM to 3 PM.
The interviewers were friendly and helped if I got stuck.


The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:

You don't need to print anything. It has already been taken care of. Just implement the given function.



1. get(key) - Return the value of the key if the key exists in the cache, otherwise return -1.
2. put(key, value), Insert the value in the cache if the key is not already present or update the value of the given key if the key is already present. When the cache reaches its capacity, it should invalidate the least recently used item before inserting the new item.
Type 0: for get(key) operation.
Type 1: for put(key, value) operation.
1. The cache is initialized with a capacity (the maximum number of unique keys it can hold at a time).
2. Access to an item or key is defined as a get or a put operation on the key. The least recently used key is the one with the oldest access time.
The round was held on Google meet face to face with only HR present.
HR explained me about the team, etc, made me feel comfortable.
HR was friendly and asked almost standard questions.
Who is your role model?
What is your expectation from this job?
Tip 1 : Maintain a positive attitude in all Interviews be it tech or HR.
Tip 2 : Develop team spirit and have some team work experience ( like ICPC times)
Tip 3 : Don't take HR round for granted, Prepare for this round beforehand.

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