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

SDE - Intern

Cohesity
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
The interview consisted of three rounds: 1st Round: Coding Online Assessment The first round was an online coding assessment held offline on our campus. The platform used was CodeSignal, and we were given two problems to solve within one hour. One problem involved binary search, while the other was an ad-hoc problem. I cleared this round by solving both problems in approximately 34 minutes, with all test cases passing successfully. 2nd Round: Coding Interview In the second round, I had a one-on-one coding interview. My interviewer was from IIT BHU. Since we had already submitted our resumes beforehand, he had a fair understanding of my background and went straight to the problem without spending much time on introductions. The interviewer was satisfied with my explanation, and I cleared this round. 3rd Round: HR Interview The HR interview was conducted by a senior engineer at Cohesity. He asked me about my projects, one of which was blockchain-based. He then asked why, despite its benefits, blockchain is rarely used in large tech companies. Unfortunately, I was unable to provide a satisfactory answer. Next, he inquired about the courses I enjoyed the most during my studies. I mentioned Probability, as I had achieved a good grade in it. He then asked about the applications of probability in computer science. I answered that its principles are used in randomized algorithms, but I felt my response was not very convincing. He also asked if I had any plans for further studies, to which I replied affirmatively. The round concluded after I asked him about the type of work Cohesity does. Outcome: I was not selected, likely due to my performance in the HR round. However, the experience was an excellent learning opportunity for me.
Application story
On-Campus Application The application process was managed by the campus placement cell. Students submitted their resumes, which were shortlisted based on CGPA and department. Only those from the Computer Science and Engineering (CSE) and Mathematics and Computing (MnC) departments with a CGPA of 8 or above were eligible. After shortlisting, selected candidates were invited for an online coding assessment. The placement body streamlined and managed the entire process, ensuring a fair and efficient selection for the interview rounds.
Why selected/rejected for the role?
I believe I was not selected for the role due to a weak HR round. I wasn’t well-prepared to discuss my projects, and one of them was not even deployed. When asked to demo my website, I hesitated, which likely left a negative impression. Additionally, mentioning plans for further studies may have raised concerns about my long-term commitment to the role, which likely contributed to my rejection.
Preparation
Duration: 1.5 months
Topics: Practice DP standard forms and problems, Graphs with Disjoint Set Union, Minimum Spanning Tree algorithms, and related problems. Focus on Binary Search, Ad-hoc, Maths, Sorting and Searching topics. Review basic Operating Systems concepts, including scheduling algorithms. Study OOPS concepts
Tip
Tip

Tip 1: Keep practicing DSA.
Tip 2: Participate in CP contests.
Tip 3: Solve puzzles on different online platforms.

Application process
Where: Campus
Eligibility: 8+ CGPA students from MnC and CSE branches only (Salary: 80K per month)
Resume Tip
Resume tip

Tip 1: Specify relevant coursework, especially core CS topics.
Tip 2: Have at least two strong projects ready for discussion.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date1 Aug 2024
Coding problem2

2 Coding Questions,1 was Adhoc, 1 Binary search

1. Rose Garden

Moderate
30m average time
79% success
0/80
Asked in companies
CohesityGoogle incJosh Technology Group

You are given 'n' roses and you are also given an array 'arr' where 'arr[i]' denotes that the 'ith' rose will bloom on the 'arr[i]th' day.


You can only pick already bloomed roses that are adjacent to make a bouquet. You are also told that you require exactly 'k' adjacent bloomed roses to make a single bouquet.


Find the minimum number of days required to make at least 'm' bouquets each containing 'k' roses. Return -1 if it is not possible.


Example :
Input: n = 9,  arr = [ 1, 2, 1, 2, 7, 2, 2, 3, 1 ], k = 3, m = 2

Output: 3. 

Explanation: This is because on the 3rd day: all the roses with 'arr[i]' less than equal to 3 have already bloomed, this means every rose except the 5th rose has bloomed. Now we can form the first bouquet from the first three roses and the second bouquet from the last three roses.
Problem approach

The minimum number of days needed lies between the earliest bloom (min(bloomDay)) and the latest bloom (max(bloomDay)). By performing a binary search within this range, we can find the smallest day on which it's possible to create m bouquets of k adjacent flowers. For a given day d, we check if it's possible to form m bouquets by iterating through the bloomDay array and counting consecutive flowers that have bloomed (bloomDay[i] <= d).

Try solving now

2. Stick Division

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

You have 'N' sticks of different lengths. You want sticks to be of equal length. You can cut any stick any number of times. Your task is to find the maximum length of the stick you can get.

Note:
The cuts in all the sticks will be of the same length.
For Example:
You have 4 sticks of sizes 4, 12, 20, 48. Now you want to cut sticks of equal length from each stick. Then you have the following options:

Make all the sticks of unit length.

Make all sticks of 2 unit length, 4(2*2), 12(2*6), 20(2*10), 48(2*24)

Make all the sticks of 4 unit length, 4(4*1), 12(4*3), 20(4*5), 48(4*12)

Hence, the maximum possible length of the stick is 4.
Problem approach

I had already solved it, so I did it right away. To minimize the total cost of making all sticks the same length, the optimal approach is to set the length of all sticks to the median of the stick lengths.

Try solving now
02
Round
Easy
Video Call
Duration20 minutes
Interview date2 Aug 2024
Coding problem1

My interviewer was an SWE at Cohesity. I was asked to solve a coding problem on the CodeSignal platform, explain my approach, and pass the three given test cases.

1. Tower of Hanoi

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

You are given three rods (numbered 1 to 3), and ‘N’ disks initially placed on the first rod, one on top of each other in increasing order of size ( the largest disk is at the bottom). You are supposed to move the ‘N’ disks to another rod(either rod 2 or rod 3) using the following rules and in less than 2 ^ (N) moves.

1. You can only move one disk in one move. 
2. You can not place a larger disk on top of a smaller disk.
3. You can only move the disk at the top of any rod.    
Note :
You may assume that initially, the size of the ‘i’th disk from the top of the stack is equal to ‘i’, i.e. the disk at the bottom has size ‘N’, the disk above that has size ‘N - 1’, and so on. The disk at the top has size 1.
Example :

Example

Problem approach

I used a set data structure to solve this, though a priority queue could also be used.

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date2 Aug 2024
Coding problem1

The HR round was conducted by a senior software engineer and a manager.

1. HR Question

First, I was asked about my projects. It’s helpful to have your web development project deployed online. Then, I was asked about my plans for further studies after graduation, followed by questions about the courses I enjoyed the most.

Problem approach

Tip 1: Have your site deployed.

Tip 2: Be prepared to discuss the courses you highlight on your CV.

Tip 3: If asked about future studies, always say no.

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 | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes