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

SDE - 1

ShareChat
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Algorithms, DBMS, Transactions, OS, OOPs, Low-Level System Design.
Tip
Tip

Tip 1 : DBMS is a must with full knowledge of how transactions work and trade-offs between NoSql and SQL. 
Tip 2 : Low-level system design is a must. Know about these terms: API, RestAPI, Microservices, ACID, Singleton classes, and their uses.
Tip 3 : DSA, just prepare standard problems, no need to do lots of hard-level problems. Prepare Standard DP questions for sure.

Application process
Where: Linkedin
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Mention projects which we know thoroughly. Designs must be clear.
Tip 2 : Whichever project you add, you should know what are the drawbacks of the current implementation and what you can do to improve them.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date29 Sep 2021
Coding problem2

1. Longest Common Substring

Moderate
25m average time
75% success
0/80
Asked in companies
Wells FargoAdobeGoldman Sachs

You are given two strings, 'str1' and 'str2'. You have to find the length of the longest common substring.


A substring is a continuous segment of a string. For example, "bcd" is a substring of "abcd", while "acd" or "cda" are not.


Example:
Input: ‘str1’ = “abcjklp” , ‘str2’ = “acjkp”.

Output: 3

Explanation:  The longest common substring between ‘str1’ and ‘str2’ is “cjk”, of length 3.
Try solving now

2. Minimum Cost to Hire M Candidates

Hard
50m average time
50% success
0/120
Asked in companies
SalesforceShareChatApple

You are the HR of the Ninja team and planning to hire ‘M’ candidates out of ‘N’ candidates to form a paid group. The candidates have been evaluated on the basis of their skills and have been asked for their minimum salary expectations. So, you are given two arrays, ‘SKILL’ and ‘EXPECTED_SALARY’, where ‘SKILL[i]’ and ‘EXPECTED_SALARY[i]’ represent the skill and minimum salary expectation of ‘i-th’ candidate, respectively. You have to consider the following two rules for hiring a group of ‘M’ candidates:

1) Every candidate in the paid group should be paid in the ratio of their skill compared to other candidates in the paid group.
2) The minimum salary expectation of every candidate in the paid group should be fulfilled.

You have to return the minimum amount of money required to hire ‘M’ candidates as per the above-mentioned rules.

Note:

Answers which are within the range 10^-6 of the correct answer will be considered correct.
Problem approach

We can use DSU to group employees and find the cost relative to that.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date9 Oct 2021
Coding problem2

1 hour round but I completed it in 30 minutes around.

1. DBMS Questions

What are ACID properties and transactions?

Problem approach

Tip 1 : Read about ACID and BASE properties.

 

2. System Design Question

Design tiny URL.

Problem approach

Tip 1 : Prepare LLD
Tip 2 : There are multiple GitHub repos containing basic LLD questions you can go through
 

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
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by ShareChat
1672 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by ShareChat
1189 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by ShareChat
1260 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 7 problems
Interviewed by ShareChat
2194 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes