Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Razorpay interview experience Real time questions & tips from candidates to crack your interview
SDE - Intern
Razorpay
upvote
share-icon
2 rounds | 5 Coding problems
Interview preparation journey
expand-icon
Journey
I was admitted to KIIT Bhubaneswar in B.Tech with CSE. Honestly, I loved CSE field and I always wanted to follow my passion which lead me here. I got a good environment in my college and a good friend circle who always motivate me. I practiced 190 question DSA sheet by strive which helped me in getting my hands on DSA. I also learned development skills from a online course,
Application story
Razorpay visited our campus to hire candidates for internship profiles. An internship is a very essential thing to get as it gives you experience and makes your resume. So, I also wanted to do an internship and I took part in this interns selection process by Intuit.
Why selected/rejected for the role?
The selection process was of average difficulty. I was some how able to solve the majority of the coding questions. But the most important thing is I tried to solve every question and gave at least one or two approaches for each question. So, I was selected by them at last.
Preparation
Duration: 2 months
Topics: Data Structures, Algorithms, Operating Systems, Database Management, Computer Networks.
Tip
Tip

I used Codezen platform of Coding Ninjas to practice data structures related questions . There you will get topic wise questions. So try to do as much as practice there or at any other coding portal to enhance your speed and efficiency.

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

Mention good level projects in your resume and also your internships or previous experiences with a brief explanation about what you have done in that internship.

Interview rounds
01
Round
Hard
Online Coding Test
Duration90 mins
Interview date16 Mar 2022
Coding problem2

This was a coding round in which two questions were asked. I solved first question fully and the second question partially.

1. Distributing Coins
Moderate
45m average time
55% success
0/80
Asked in companies
AppleUberPaytm (One97 Communications Limited)

You are given the ‘ROOT’ of a binary tree with ‘N’ nodes where each node in the tree has some coins, and there are ‘N’ coins total. In one move, we may choose two adjacent nodes a...

View more
Problem approach

I solved this using permutation and combinations. The approach was to calculate total ways to distribute N items among three people and then subtracting invalid distribution from total ways will result in the required answer.

Try solving now
2. Replace ‘O’ With ‘X’
Moderate
35m average time
60% success
0/80
Asked in companies
IntuitGoogleRazorpay

Given a 2D array grid G of 'O's and 'X's. The task is to replace all 'O' with 'X' contained in each islan...

View more
Problem approach

I solved this question using Flood-fill algorithm by replacing ‘O’ with special character and applying Flood-fill for every edge of matrix by traversing it.

Try solving now
02
Round
Medium
Face to Face
Duration50 mins
Interview date16 Mar 2022
Coding problem3

This was face to face interview round and the interviewer asked me one coding-only and project-related questions.

1. Smallest Subarray with K Distinct Elements
Easy
20m average time
80% success
0/40
Asked in companies
UberGoldman SachsHexaware Technologies

Given an array 'A' consisting of 'N' integers, find the smallest subarray of 'A' containing exactly 'K' distinct integers.

Note :
View more
Problem approach

I used the concept of Sliding window to solve this question. I initialized the start pointer and end pointer to 0, then moved the end pointer to a point at which the distinct elements between the start and end pointer was equal to k, I kept the track through a map, and then moved the start pointer ahead till the point where distinct elements between the start and end pointer were equal to k - 1...

View more
Try solving now
2. Project based questions

I explained the project thoroughly by telling its objective, features, tech stack, and flow diagram.

3. OOPS Questions

1. What are the concept of function overriding?
2.What Is Memory distribution in C++?.

Problem approach

Tip 1: I explained to him the concept of function overriding in inheritance by giving a proper example. Also told him the concept of virtual functions here itself.

Tip 2: I explained to him the concept through diagrammatic explanation and which variable resides in which memory and code is stored in which segments all these things were explained by me.

Start a Discussion
Similar interview experiences
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Razorpay
1756 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Razorpay
612 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Razorpay
823 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Razorpay
341 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
11714 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
10408 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
7857 views
2 comments
0 upvotes