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

SDE - 1

Cultfit
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, Databases, Coding - diverse topics, Computer Networks
Tip
Tip

Tip 1 : Practice all topics, don’t skip. Having knowledge of all helps connect problems to different topics 
Tip 2 : Be confident. Don’t get afraid on seeing a new question, you got this! 
Tip 3 : If from a different branch, try to work on skills that highlight you over the mass.

Application process
Where: Campus
Eligibility: 8 CGPA
Resume Tip
Resume tip

Tip 1 : Fill it with eye catching tech skills 
Tip 2 : Try to highlight roles other than just tech because companies like versatility.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 mins
Interview date24 Feb 2019
Coding problem1

Days time - around 3PM
Quiet environment
The interviewer was from dev team

1. Maximum Number of Xs.

Moderate
45m average time
58% success
0/80
Asked in company
Cultfit

You are given a string ‘S’ of length ‘N’. The string ‘S’ consists of only two characters ‘X’ and ‘Y’. In one operation, you can select two indices ‘i’ and ‘j’, and flip each character of the substring from ‘i’ to ‘j’. Flip the characters means changing the character ‘X’ to ‘Y’ and the character ‘Y’ to ‘X’.

You need to perform exactly one operation. Find the maximum number of ‘X’s in the string ‘S’ that you can get after performing the operation.

Example:
Input: ‘N’ = 4,  ‘S’ = “XYYX”

Output: 4.

Select ‘i’ = 1 and ‘j’ = 2. Flip all the characters of the substring from 1 to 2, and we get ‘S’ = ‘XXXX’. Hence, the number of ‘X’s is 4.
Problem approach

Tried simple traversal first, the crude approach.
Then evolved into ways of keeping the earlier solution before trying the next row. This gave an optimum answer

Try solving now
02
Round
Hard
Telephonic
Duration60 mins
Interview date27 Feb 2019
Coding problem1

Days time - around 3PM
Quiet environment
The interviewer was from dev team

1. Ways To Reach Goal

Moderate
40m average time
50% success
0/80
Asked in companies
ShareChatCultfit

A virus travels on a positive number line with a range from 0 to ‘R’ in which it can travel only in the left or right direction. You are given a string ‘PATH’ representing the sequence of moves a virus can move. Your task is to find the number of distinct subsequences of those moves that lead from a given point ‘X’ to point ‘Y’ on the number line. If a virus is present at position ‘P’, then moving in the ‘l’ direction will take it to the ‘P’ - 1 position, whereas moving in the ‘r’ direction will take it to the ‘P’ + 1 position.

Note:
Subsequences are created by deleting 0 or more characters from a sequence without changing the order.
Example:
Let ‘PATH’ be: "rrr"
Let ‘X’ = 1, ‘Y’ = 2, and ‘R’ = 10
Paths are ["r", "r", "r"]. As we have to choose distinct subsequences, so the result is 1.
Try solving now
03
Round
Medium
Telephonic
Duration60 mins
Interview date1 Mar 2019
Coding problem1

Days time - around 3PM
Quiet environment
The interviewer was from dev team

1. Convert binary tree to mirror tree

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

Given a binary tree, convert this binary tree into its mirror tree.

A binary tree is a tree in which each parent node has at most two children.

Mirror of a Tree: Mirror of a Binary Tree T is another Binary Tree M(T) with left and right children of all non-leaf nodes interchanged.

alt text

Note:
1. Make in-place changes, that is, modify the nodes given a binary tree to get the required mirror tree.
Problem approach

Call mirror on child and then mirror the current node

Try solving now
04
Round
Medium
HR Round
Duration60 mins
Interview date3 Mar 2019
Coding problem2

It was the CTO round.
Days time - around 3PM
Quiet environment

1. Basic HR Question

Tip 1: Stay calm
Tip 2: Be clear with your stance. Don’t fumble
Tip 3: Having something to ask helps gauge interest

Problem approach

Tip 1: Stay calm
Tip 2: Be clear with your stance. Don’t fumble
Tip 3: Having something to ask helps gauge interest

2. Basic HR Question

Why should we hire you over a CS guy. What do you offer that they don’t?

Problem approach

Tip 1: Hardwork and persistence
Tip 2: Proven work in the domain
Tip 3: Clear fundamental knowledge

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
4 rounds | 5 problems
Interviewed by Cultfit
1370 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 2 problems
Interviewed by Cultfit
1463 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by Cultfit
1543 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Cultfit
1388 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