Chegg Inc. interview experience Real time questions & tips from candidates to crack your interview

Software Developer

Chegg Inc.
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey on YouTube, where I first learned data structures and algorithms. Then, I began my preparation for data structures on LinkedIn.
Application story
I applied through a referral.
Why selected/rejected for the role?
I was rejected because I could not provide precise and optimized solutions to the questions asked.
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, Linked Lists, and Graphs
Tip
Tip

Tip 1: Practice at least 250 questions.
Tip 2: Do at least 2 projects.

Application process
Where: Referral
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1: Include some projects on your resume.
Tip 2: Do not include false information on your resume.

Interview rounds

01
Round
Medium
Video Call
Duration90 minutes
Interview date10 Sep 2022
Coding problem2

1. Reverse Bits

Moderate
0/80
Asked in companies
MicrosoftGrofersChegg Inc.

There is a song concert going to happen in the city. The price of each ticket is equal to the number obtained after reversing the bits of a given 32 bits unsigned integer ‘n’.


Try solving now

2. Asteroid Collision

Moderate
15m average time
85% success
0/80
Asked in companies
MicrosoftAmazonDunzo

You are given an array/list 'asteroids' representing asteroids in a row.


For each element of the given array, its absolute value denotes the size of that asteroid, and its sign denotes the direction it moves in(+ve meaning right and -ve meaning left).


An asteroid with a weight of 0 denotes a massless asteroid that moves in the right direction.


All asteroids are moving at the same speed. Whenever two asteroids collide, the smaller asteroid gets destroyed.


If both asteroids are the same size, then both asteroids get destroyed. Two asteroids moving in the same direction never collide.


You are supposed to find the state of the asteroids after all collisions.


Example :
Input: ‘asteroids’ = [3,-2,4]

Output: [3, 4]

Explanation: The first asteroid will destroy the second asteroid. Hence, after the collision, the state of the asteroids will be [3,4].
Note:
You don’t need to print anything. Just implement the given function.
Try solving now
02
Round
Medium
Video Call
Duration90 minutes
Interview date10 Sep 2022
Coding problem3

1. System Deisgn

Design an API to upload and download an MP3 file.

3. Maximum sum of non-adjacent elements

Moderate
15m average time
85% success
0/80
Asked in companies
MakeMyTripSalesforceExpedia Group

You are given an array/list of ‘N’ integers. You are supposed to return the maximum sum of the subsequence with the constraint that no two elements are adjacent in the given array/list.

Note:
A subsequence of an array/list is obtained by deleting some number of elements (can be zero) from the array/list, leaving the remaining elements in their original order.
Try solving now
03
Round
Easy
HR Round
Duration20 minutes
Interview date10 Sep 2022
Coding problem2

1. Basic HR Questions

  • What are your strengths and weaknesses?
  • Why do you want to work at our company?
Problem approach

My strengths are that I am a hard-working person and fulfill my responsibilities at work. My weakness is that I am a little shy.

2. Basic HR Questions

  • What is the difference between confidence and overconfidence?
  • What is the difference between hard work and smart work?
Problem approach

In my opinion, believing in yourself is confidence, while not believing in others is overconfidence.

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
Software Developer
2 rounds | 4 problems
Interviewed by Chegg Inc.
865 views
0 comments
0 upvotes
SDE - 1
3 rounds | 7 problems
Interviewed by Chegg Inc.
891 views
0 comments
0 upvotes
Software Developer
3 rounds | 5 problems
Interviewed by Chegg Inc.
1068 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Chegg Inc.
779 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Developer
5 rounds | 14 problems
Interviewed by Microsoft
4030 views
1 comments
0 upvotes
company logo
Software Developer
6 rounds | 12 problems
Interviewed by SAP Labs
2912 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 3 problems
Interviewed by Amazon
1271 views
0 comments
0 upvotes