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

SDE - 1

ShareChat
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: DSA, OOPS, System Design, CS Fundamentals, Projects
Tip
Tip

Tip 1 : Practice Leetcode medium-level questions for all the main topics.
Tip 2 : System design is very important for sharechat, even at a fresher level.
Tip 3 : Go through your projects/resume very well before the interview.

Application process
Where: Referral
Eligibility: No Criteria
Resume Tip
Resume tip

Tip 1 : Good projects should be there in your resume, Mention a list of your achievements as well.
Tip 2 : If you have a good CP profile, mention it else mention how many questions you have solved in total

Interview rounds

01
Round
Hard
Online Coding Interview
Duration120 Minutes
Interview date1 Jan 2021
Coding problem2

Coding Contest with 3 questions on HackerEarth.

1. Children Sum Property

Moderate
36m average time
70% success
0/80
Asked in companies
AmazonQualcommSamsung

Given a binary tree of nodes 'N', you need to modify the value of its nodes, such that the tree holds the Children sum property.

A binary tree is said to follow the children sum property if, for every node of that tree, the value of that node is equal to the sum of the value(s) of all of its children nodes( left child and the right child).

Note :
 1. You can only increment the value of the nodes, in other words, the modified value must be at least equal to the original value of that node.
 2. You can not change the structure of the original binary tree.
 3. A binary tree is a tree in which each node has at most two children.      
 4. You can assume the value can be 0 for a NULL node and there can also be an empty tree.
Try solving now

2. Shuffle Two Strings

Hard
50m average time
50% success
0/120
Asked in companies
LinkedInShareChatCIS - Cyber Infrastructure

You are given three strings “A”, “B” and “C”. Your task is to check whether “C” is formed by an interleaving of A and B. C is said to be interleaving “A” and “B”, if the length of “C” is equal to the sum of the length of A and length of B, all the characters of “A” and “B” are present in “C”, and the order of all these characters remains the same in all three strings.

For Example:
If A = “aab”, B = “abc”, C = “aaabbc”
Here C is an interleaving string of A and B. Because C contains all the characters of A and B and the order of all these characters is also the same in all three strings.

interleaving

If A = “abc”, B = “def”, C = “abcdefg”
Here C is not an interleaving string of A and B as neither A nor B contains the character ‘g’.
Try solving now
02
Round
Easy
Face to Face
Duration60 Minutes
Interview date4 Jan 2021
Coding problem2

1 hr face-to-face DSA round.

1. Minimum operation needed to convert to the given string

Moderate
26m average time
0/80
Asked in companies
SamsungAppleMicrosoft

You are given two strings 'str1' and 'str2'. Find the minimum operations required to convert str1 into str2.

An Operation is defined as:
A character from an index of a string(str1) is put at the end of it, is defined as a single operation.
 Note :
You cannot perform any operation on the string, str2.
Try solving now

2. Word Search - l

Moderate
30m average time
60% success
0/80
Asked in companies
OlaGoldman SachsIBM

You are given a 2D board('N' rows and 'M' columns) of characters and a string 'word'.


Your task is to return true if the given word exists in the grid, else return false. The word can be constructed from letters of sequentially adjacent cells, where adjacent cells are horizontally or vertically neighboring.


Note:
The same letter cell should not be used more than once.
For Example:
For a given word “design” and the given 2D board 
[[q’, ‘v’, ‘m’, ‘h’],
 [‘d’, ‘e’, ‘s’, ‘i’],
 [‘d’, ‘g’, ‘f’, ‘g’],
 [‘e’, ‘c’, ‘p’, ‘n’]]

The word design can be formed by sequentially adjacent cells as shown by the highlighted color in the 2nd row and last column.

board

Try solving now
03
Round
Medium
Video Call
Duration60 Minutes
Interview date7 Jan 2021
Coding problem1

This was the system design round taken by the tech lead. It happened on Google meet

1. System Design Question

Asked me to design the feed pipeline of sharechat. It was more of an HLD discussion.
Further asked me more about caching and it's implementation.

Problem approach

Tip 1 : Try to participate in the discussion as much as you can.
Tip 2 : Since there is no right/wrong in system design, be vocal and communicate your thought process very well
Tip 3 : Prepare fundamentals of design like API design, Caching, DB Schema Design, Indexing, SQL queries etc.

04
Round
Medium
Video Call
Duration60 Minutes
Interview date11 Jan 2021
Coding problem2

This round was taken by the Director of Engineering.

1. Circular Queue

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

You will be given ‘Q’ queries. You need to implement a circular queue according to those queries. Each query will belong to one of these two types:

1 ‘X’: Enqueue element ‘X’ into the end of the nth queue. Returns true if the element is enqueued, otherwise false.

2: Dequeue the element at the front of the nth queue. Returns -1 if the queue is empty, otherwise, returns the dequeued element.
Note:
Enqueue means adding an element to the end of the queue, while Dequeue means removing the element from the front of the queue.
Try solving now

2. Technical Questions

How will you search words in an efficient manner?

An in-depth discussion on my current project.

Problem approach

Tip 1 : Prepare your projects very well.
Tip 2 : Go through the work which you have done in your prev company.

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
3 rounds | 5 problems
Interviewed by ShareChat
1639 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by ShareChat
1157 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by ShareChat
1230 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 7 problems
Interviewed by ShareChat
2161 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes