# Razorpay Interview Experience for SDE-1 (On-Campus 2020)

• Difficulty Level : Hard
• Last Updated : 14 Dec, 2020

Online Assessment: The Online Assessment was hosted on HackerEarth and consisted of 3 Coding Questions and 15 MCQs (OS, DBMS, CN, OOP). The duration of the test was 1 h 30 mins. I was able to completely solve 3 of the coding questions and had attempted 13 MCQs out of 15. The coding questions are as follows:

1. This was a very simple DFS based question, so I solved it real quick. (Easy). https://www.hackerearth.com/problem/algorithm/bfs-waali-7409c2ca-c1be890b/description/
2. This was a DP based problem where we had to find out minimize the maximum difference between any two elements in the given arrangement by removing K elements. I would say this was a Medium but Hard Question for me to solve.
3. This was a recursion based problem which was again an Easy-Medium problem where we had to find out the total number of ways to go from 0 to N under some constraints which were to be obeyed by the moves that we make.

As for the MCQs, they were really very difficult to solve, so what I would say is don’t just focus on DS Algo also get a stronghold on the CS fundamentals.

Hey geek! It's time to become a success story instead of reading them. Check out our most renowned DSA Self Paced Course, now at a student-friendly price and become industry ready. And if you are looking for a more complete interview preparation resource, check out Complete Interview Preparation Course that will prepare you for the SDE role of your dreams!

Feeling prepared enough for your interview? Test your skills with our Test Series that will help you prepare for top companies like Amazon, Microsoft, TCS, Wipro, Google and many more!

Technical Round 1(45 minutes): At first I was asked about the different projects that I have done so far. We had a detailed discussion on the same. Then he gave me a problem which was a slight variation of this particular problem :