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

SDE - 1

Cashfree Payments
upvote
share-icon
4 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: Data Structures, OOPS, OS, DBMS, Basic Low level design
Tip
Tip

Tip 1 : Do lot of dsa questions not just cp major focus on dynamic programming and graphs
Tip 2 : Learn basic low level design like writing classes and stuff

Application process
Where: Campus
Eligibility: nothing
Resume Tip
Resume tip

Tip 1 : Do any web based project, it really helps
Tip 2 : Don't write anything in resume which you don't know about it may work 1 time but it will backfire for sure.

Interview rounds

01
Round
Easy
Online Coding Test
Duration120 Minutes
Interview date4 Dec 2020
Coding problem3

1. Count Distinct Elements In Every Window

Moderate
15m average time
85% success
0/80
Asked in companies
AmazonHSBCZS

Given an array of integers ‘arr’ of size ‘n’ and an integer ‘k’. You need to find the count of distinct elements in every sub-array of size ‘k’ in the given array. Return an integer array ‘count’ that consists of n - k + 1 integers where ‘count[i]’ is equal to the number of distinct elements in a sub-array of size ‘k’ starting from index ‘i’.

Note:
1. The sub-array of an array is a continuous part of the array.
2. Consider ‘0’ based indexing.
3. ‘k’ will always be less than or equal to ‘n’.
3. Don’t print anything, just return the integer array ‘count’.
Try solving now

2. Maximum Profit

Moderate
20m average time
75% success
0/80
Asked in company
Cashfree Payments

Bob has joined a part-time job as a delivery man. He needs to deliver ‘N’ packages with ‘A[i]’ value within ‘K’ days.

In one day, Bob can deliver as many packages as he wants, but the ‘i’th package cannot be delivered until ‘(i - 1)’th package is not delivered.

Each day, Bob earns the maximum value of the packages Bob delivered during that day.

Can you help Bob to find a way to deliver his packages to maximize his earning?

Note: If Bob does not deliver any packages someday, his earning will be 0 on that day.

Try solving now

3. Next Greater Element

Moderate
20m average time
90% success
0/80
Asked in companies
CIS - Cyber InfrastructureAmazonPhonePe

You are given an array arr of length N. You have to return a list of integers containing the NGE(next greater element) of each element of the given array. The NGE for an element X is the first greater element on the right side of X in the array. Elements for which no greater element exists, consider the NGE as -1.

For Example :

If the given array is [1, 3, 2], then you need to return [3, -1, -1]. Because for 1, 3 is the next greater element, for 3 it does not have any greater number to its right, and similarly for 2.
Try solving now
02
Round
Medium
Video Call
Duration90 Minutes
Interview date5 Dec 2020
Coding problem2

1. Generate all parenthesis

Moderate
30m average time
85% success
0/80
Asked in companies
FacebookExpedia GroupLinkedIn

You are given an integer 'N', your task is to generate all combinations of well-formed parenthesis having ‘N’ pairs.


A parenthesis is called well-formed if it is balanced i.e. each left parenthesis has a matching right parenthesis and the matched pairs are well nested.


For Example:

For ‘N’ = 3,
All possible combinations are: 
((()))
(()())
(())()
()(())
()()()
Try solving now

2. Unique Paths

Moderate
25m average time
80% success
0/80
Asked in companies
BNY MellonCoinDCXAmazon

You are present at point ‘A’ which is the top-left cell of an M X N matrix, your destination is point ‘B’, which is the bottom-right cell of the same matrix. Your task is to find the total number of unique paths from point ‘A’ to point ‘B’.In other words, you will be given the dimensions of the matrix as integers ‘M’ and ‘N’, your task is to find the total number of unique paths from the cell MATRIX[0][0] to MATRIX['M' - 1]['N' - 1].

To traverse in the matrix, you can either move Right or Down at each step. For example in a given point MATRIX[i] [j], you can move to either MATRIX[i + 1][j] or MATRIX[i][j + 1].

Try solving now
03
Round
Easy
Video Call
Duration90 Minutes
Interview date5 Dec 2020
Coding problem2

1. DBMS Questions

Indexing, foreign keys,cache memory, parallel processing, the difference between 32 and 64 bit

Problem approach

Tip 1 : Go through javatpoint os dbms

2. OS Questions

Deadlocks, semaphores, virtual memory, dynamic partioning, threads, scheduling

04
Round
Easy
HR Round
Duration20 Minutes
Interview date5 Dec 2020
Coding problem1

1. Basic HR Questions

General HR based questions, your expectations from company, a bit about company and leadership principle discussion

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
SDE - 1
3 rounds | 6 problems
Interviewed by Cashfree Payments
1115 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
3452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6261 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2160 views
0 comments
0 upvotes