Cashfree Interview Process - Mid-level Backend Engineer
Backend Engineer interview at Cashfree in Bangalore: three rounds, DSA, LLD and a hiring manager round.
Round 1: DSA
The interviewer was at the same level as the role. Two questions:
A 1D DP problem along the lines of house robber
Kth Largest Element, using a max/min heap
It was on HackerEarth with 1 hour. I finished both in 35 minutes, so it went smoothly and I moved on.
Round 2: LLD
The interviewer was a Staff Engineer and gave me the functional requirements for a meeting room booking system:
FR1: The system manages multiple meeting rooms, each with an id and a capacity.
FR2: A user can book a room for a time slot (start time to end time) for a given number of attendees. The room must have enough capacity.
FR3: Two bookings for the same room must never overlap, even when many users book at the same time.
FR4: A user can cancel their own booking, which frees that slot.
FR5: A user can search for the available rooms for a given time slot and attendee count.
FR6: When several rooms fit a request, the system picks one using a pluggable strategy (e.g. smallest room that fits, or first available).
I covered all the scenarios. I wrote it in Java and used locks and SOLID principles only where needed, keeping the solution simple and easy to follow.
Round 3: Hiring manager
This one was in the office, unlike the other rounds, which were online. The interviewer grilled my resume, asked me to draw some features and HLD diagrams, and cross-questioned my knowledge with several follow-ups on the concepts. I answered them all. Where there were hiccups, he corrected me and understood my existing approach. At the end I asked him some impressive follow-up questions.
Outcome
Rejected. According to HR, the first two rounds were very good and up to the mark.
In the last round I fumbled a bit on the hardLock and softLock concept, which the interviewer felt should be familiar for this role. I also described using a DB trigger (before insert) in my current approach. The interviewer didn't agree with it and asked for a better, optimised approach. I gave one, but it still counted against me.
Was this experience helpful?
Be the first to mark it helpful
No comments yet
Be the first to ask the author a question or share your own take.