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

Senior Software Engineer

PharmEasy
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
When I interviewed at Paytm with three years of experience as a Java Backend Engineer, I realized that companies like theirs focus heavily on strong Data Structures and Algorithms (DSA) skills. I began preparing for DSA just 3-4 months before the interview, feeling a bit unsure at first. However, after a week or two, I became more interested in solving DSA problems. I covered basic questions on trees, singly linked lists, and arrays on coding platforms. During the middle of my preparation, I took a month-long break. When I started attending interviews, I felt like I had forgotten what I had learned over the past few months. That's when I realized the importance of continuous practice. I went back and practised the same set of questions again. Although I faced rejections in some of the initial rounds, after 4-5 interviews, I gained confidence and understood what companies were looking for. For system design, I studied a few use cases online, and my previous experience at my organization helped me understand the key considerations when developing an application from scratch. This comprehensive preparation paid off in the end.
Application story
I applied via LinkedIn, then I got a call from HR for an interview, and the HR scheduled a technical interview. Throughout each round, the HR was helpful, providing detailed information about every round in advance.
Why selected/rejected for the role?
I cleared the first round, which was technical, but got rejected in the second round of LLD (Low-Level Design). However, the experience was valuable. I focused on improving the areas where I was lacking for my future interviews.
Preparation
Duration: 5 months
Topics: Arrays, LinkedList,Tree, Dynamic Programming, Recursion, Java Basics
Tip
Tip

Tip 1: Don’t lose confidence. If you’re unable to solve a DSA question, don’t get discouraged—try it again.
Tip 2: Be consistent in practising DSA, and make notes of theoretical questions that might be asked by some companies.
Tip 3: You can start with easy-level DSA questions and then begin attending interviews. This will help you understand the types of questions being asked and open up your mind.

Application process
Where: Referral
Eligibility: No as such, they were hiring for 2+ years exp, (Salary Package: 20LPA)
Resume Tip
Resume tip

Tip 1: Keep the skills section clearly at the top, and highlight the skills the organization is looking for, such as Java 8, Microservices, and Spring Boot.
Tip 2: Mention your total experience and contact details. Don’t make HR calculate your experience from the time you spent with previous organizations.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date27 Apr 2022
Coding problem3

In this round, they started with a data structure question and then asked some basic questions about Java.

1. Jump Game

Moderate
25m average time
75% success
0/80
Asked in companies
OracleUberShareChat

You are given a 0-indexed array of integers nums of length n. You are initially positioned at nums[0].

Each element nums[i] represents the maximum length of a forward jump from index i. In other words, if you are at nums[i], you can jump to any nums[i + j] where:

   0 <= j <= nums[i] and
   i + j < n

Return the minimum number of jumps to reach nums[n - 1]. The test cases are generated such that you can reach nums[n - 1].

Problem approach

At first, I was blank when faced with the question. However, I later solved it using a naive approach. I explained the approach using dynamic programming (DP) but wasn't able to implement it in code.

Try solving now

2. Singleton Class in Java

What is a Singleton class and create a custom Singleton Class? (Learn)

Problem approach

This is a simple Design pattern. So I answered quickly.

3. Immutable class

What is Immutable class? (Learn)

Problem approach

I explained the immutability and created a custom class, by covering all use cases.

02
Round
Easy
Video Call
Duration60 minutes
Interview date5 May 2022
Coding problem1

This was an LLD round where they asked me to design 'BookMyShow.' They provided some attributes and asked me to design based on those.

1. System Design

Design 'BookMyShow' considering the following:

  • Show type (movie, comedy)
  • City, cinema halls (location, other facilities)
  • Timings, seats, seat status (how many are filled), ratings for a particular show, and seat booking
  • Food options
  • Payment section (vouchers, different payment gateways)
  • Ticket cancellation/refund policies
  • Ticket status via email and SMS
  • QR code for entry into the cinema hall (sent via email)
Problem approach

I explained the DB structure that I will use. Then they asked to write some API's.
I wrote them.

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
Frontend Developer
4 rounds | 4 problems
Interviewed by PharmEasy
1801 views
0 comments
0 upvotes
Software Engineer
5 rounds | 4 problems
Interviewed by PharmEasy
1377 views
0 comments
0 upvotes
Technical Lead
3 rounds | 4 problems
Interviewed by PharmEasy
0 views
0 comments
0 upvotes
Data Analyst
1 rounds | 1 problems
Interviewed by PharmEasy
157 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Senior Software Engineer
1 rounds | 3 problems
Interviewed by Intuit
2963 views
1 comments
0 upvotes
company logo
Senior Software Engineer
5 rounds | 5 problems
Interviewed by PhonePe
2560 views
0 comments
0 upvotes
company logo
Senior Software Engineer
4 rounds | 4 problems
Interviewed by Walmart
7470 views
1 comments
0 upvotes