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

SDE - Intern

Razorpay
upvote
share-icon
1 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Algorithms, SQL, OOPS, OS
Tip
Tip

Tip 1 : Practice problems of dynamic programming
Tip 2 : Graph algorithms are also important for this company
Tip 3 : Having projects is crucial for selection.

Application process
Where: Campus
Eligibility: There was branch eligibility. Only CSE, Electronics and Electrical could apply.
Resume Tip
Resume tip

Tip 1 : Highlight projects on your resume.
Tip 2 : Having previous technical experience if any helps.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date21 Oct 2020
Coding problem3

It was an online coding round with three questions. One was a simple problem of prime numbers sieve. One was of graph and one was of DP.
It happened in the afternoon on Hackerrank platform and we received the link via mail.

1. Print Characters At Prime Indices

Easy
15m average time
90% success
0/40
Asked in companies
IBMRazorpayTCS

You are given a string 'STR' of length 'N'. You need to return a string that will contain all the characters present at the prime indices of the original string. The relative order of characters in the new string should be exactly the same as it was in the original string.

Note:

1. Prime indices are those indices that are prime numbers i.e. all the numbers except 0 and 1 which are divisible by 1 and the number itself. For eg. If a character is at index 5 in some string, then it is at a prime index, as 5 is a prime number.

2. The given string may consist of characters ‘a’-’z’, ‘A’-’Z’, ‘0’-’9’ at any place.

3. The given string follows 0-based indexing. So, assume that the first character of the given string is at index 0.
Try solving now

2. Longest Common Subsequence

Moderate
0/80
Asked in companies
AmazonVisaRed Hat

You have been given two Strings “STR1” and “STR2” of characters. Your task is to find the length of the longest common subsequence.

A String ‘a’ is a subsequence of a String ‘b’ if ‘a’ can be obtained from ‘b’ by deletion of several (possibly, zero or all) characters. A common subsequence of two Strings is a subsequence that is common to both Strings.

Try solving now

3. Is Graph Tree?

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

Ben Tennyson recently joined Coding Ninjas to become better at competitive programming.

To check whether Ben is seriously studying in Coding Ninjas or not, Gwen challenged Ben to solve a problem and Ben accepts the challenge of Gwen.

Gwen gives Ben an undirected graph of ‘N’ nodes numbered from 0 to ‘N - 1’ having ‘M’ edges. The task of Ben is to check whether the graph given by Gwen is a tree or not.

As Ben is busy fighting with Evil doers so he asked you to solve this problem.

Note :
There are no parallel edges and self-loops in the graph given by Gwen.

A tree is a connected graph having no cycles.
Try solving now

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
SDE - 1
3 rounds | 5 problems
Interviewed by Razorpay
3040 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 5 problems
Interviewed by Razorpay
2716 views
0 comments
0 upvotes
SDE - Intern
2 rounds | 5 problems
Interviewed by Razorpay
968 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 8 problems
Interviewed by Razorpay
63 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15481 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15339 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10142 views
2 comments
0 upvotes