Careem interview experience Real time questions & tips from candidates to crack your interview

SDE - 2

Careem
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures, OOPS, System Design, Algorithms, Design patterns
Tip
Tip

Tip 1 : Note down the questions which are asked in the previous interview and try to find the answers for them.
Tip 2 : Stay consistent in solving problems with DSA. Solve atleast 1 problem a day.

Application process
Where: Other
Eligibility: Experience in product based companies
Resume Tip
Resume tip

Tip 1 : Mention the impact of your work on your resume. Mention metrics which you have improved.
Tip 2 : Mention the tools and skills that you have and use it for your work.

Interview rounds

01
Round
Medium
Video Call
Duration60 Minutes
Interview date17 Feb 2022
Coding problem2

1. Covid Vaccination

Moderate
0/80
Asked in companies
BNY MellonOracleAmerican Express

We are suffering from the Second wave of Covid-19. The Government is trying to increase its vaccination drives. Ninja wants to help the Government to plan an effective method to help increase vaccination following safety measures. Time is running out. Can you help the nation?

You are given two positive integers: ‘n,’ ‘maxVaccines’ denoting the number of days for which this vaccination drive will go on and the total number of vaccines available for the drive, respectively. You have to find the number of vaccines administered each day. You are also given a number ‘dayNumber,’ and we are interested to know the maximum number of vaccines that can be administered on ‘dayNumber’ th day.

The rules of the vaccination drive :

1. There should be a positive number of vaccines administered each day during the vaccination drive.

2. The absolute difference between the number of vaccines in two consecutive days should not exceed 1.

3. The sum of all the elements of the vaccines array does not exceed maxVaccines, that is, you cannot administer more vaccines than what is provided to you.

4. Vaccines administered on ‘dayNumber’ th day should be maximized.

Try solving now

2. Power Set

Easy
15m average time
85% success
0/40
Asked in companies
AdobeAmazonFacebook

You are given a sorted array of 'N' integers. You have to generate the power set for this array where each subset of this power set is individually sorted.

A set is a well-defined collection of distinct elements. Power set P(ARR) of a set 'ARR' is defined as a set of all possible subsets of 'ARR'.

You have to return the array of subsets. The elements in the subset should be sorted in ascending order. The order of subsets in the array does not matter. Hence there can be more than 1 possible solution for a given array.

For example :
If we are given an array ARR=[1,2,3] then the power set P(ARR) of the set ARR is: [ [], [1], [2], [1,2], [3], [1,3], [2,3], [1,2,3] ]
Note :
For every subset 'X' present in power set P(ARR) of set ARR, X must be sorted i.e. in the example above:
P1(ARR) =  [ [], [1], [2], [1,2], [3], [1,3], [2,3], [1,2,3] ]
P2(ARR) =  [ [], [1], [1,2,3], [2], [1,2], [3], [1,3], [2,3] ]
P3(ARR) =  [ [], [1], [2], [1,2], [3], [1,3], [2,3], [2,3,1] ]
P1(ARR) and P2(ARR) will be considered correct power sets but P3(ARR) will not be considered correct because there the last subset [2, 3, 1] is not sorted.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date17 Feb 2022
Coding problem1

1. System Design Question

Design grocery store app

Problem approach

Tip 1 : Write the APIs and mention whichever is sync and async.
Tip 2 : Mention the components used for designing the system.

03
Round
Medium
Video Call
Duration60 Minutes
Interview date17 Feb 2022
Coding problem1

1. System Design Question

Design a simplified version of Twitter where users can post tweets, follow/unfollow another user, and is able to see the 10 most recent tweets in the user's news feed. * Implement the Twitter class: * Twitter() Initializes your twitter object. * void postTweet(int userId, int tweetId) Composes a new tweet with ID tweetId by the user userId. Each call to this function will be made with a unique tweetId. * List getNewsFeed(int userId) Retrieves the 10 most recent tweet IDs in the user's news feed. Each item in the news feed must be posted by users who the user followed or by the user themself. Tweets must be ordered from most recent to least recent. * void follow(int followerId, int followeeId) The user with ID followerId started following the user with ID followeeId. * void unfollow(int followerId, int followeeId) The user with ID followerId started unfollowing the user with ID followeeId.

Problem approach

Wrote the methods and explained the datastructure which will be used for this case.
Implemented all the methods in a readable form and production ready.

04
Round
Medium
HR Round
Duration60 minutes
Interview date17 Feb 2022
Coding problem1

1. Basic HR Questions

Questions related to leadership were asked and grilled down.

Why do you want to join this organization?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2581 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29570 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
9584 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6677 views
1 comments
0 upvotes