Open In App

Cashfree Interview Experience (On-Campus) 2022

Cashfree visited our campus in August 2022 for FTE for their Bangalore office. CGPA criteria were 6.5 and above.

There were 5 rounds.



Round 1 (Online Test – Hackerrank): It was an online exam that had MCQs related to CS fundamentals and 2 coding questions (I don’t remember).

Around 16 people were selected and I was one of them.



Round 2: (Technical Interview – Hackerrank, 1 Hour): This was a DSA round, the interviewer greeted and introduced himself and asked me to introduce myself. The interviewer pasted two questions in total on the hackerrank platform (the interviewer and I share the same screen) and asked me to read and understand the question. 

Question 1: Consider two arrays A and B where each consists of n integers. In one operation:

Select two indices i and j (0 <= i, j < n)
Swap integers A[i] and B[j]
This operation can be performed most k times.

Find the maximum number of distinct elements that can be achieved in array A after at most k operations.

Question 2: Consider array A. The cost at an index is defined as the number of distinct elements that are present in all the elements left to the index (including the element at the index). The cost of the whole array is defined as the sum of costs at all indices.

Find a permutation of the array A, which would give the minimum cost of the array.

Example: 

A = [1, 2, 2, 1, 1, 3, 1, 3, 2]
Cost of A = 1 + 2 + 2 + 2 + 2 + 3 + 3 + 3 + 3 = 21
A possible permutation of A = [1, 1, 1, 1, 2, 2, 2, 3, 3]
The cost for this would be 1 + 1 + 1 + 1 + 2 + 2 + 2 + 3 + 3 = 16, 
which would be the minimum possible cost possible.

Tips:

Round 3: (Techincal Interview – Hackerrank, 1.5 Hours): This round had nothing to do with DSA but more on how strong are your CS fundamentals (DBMS, OS, CN).

The interviewer mainly went through:

These are some of the topics I could remember.

Tips:

Finally, the interviewer asked me If I had any questions, I asked him about the company, about his work, and asked for feedback.

Round 4: (Managerial Round – Hackerrank, 50 – 60 mins): This round was more of a resume review round. The interviewer greeted and introduced himself and asked me to introduce myself.

Round 5: (Hiring Manager Round – Google Meet, 40 – 45 mins): This round was a general talk with the interviewer,

Article Tags :