Cashfree SDE 3
Full Experience
Round 1:
Interviewer grilled me on my resume and I answered all of this as I've led that project ground up.
Second part was code review, he gave me 3 functions to review the code and I think I did pretty well, I remembered the code as it was small functions so I gave to ChatGPT as well and he came up with pretty same comments along with nitpicks. Recruiter told me I got rejected for this I honestly don't know how but it's fair tough pill to swallow but expect the unexpected.
Third part was coding which had 2 questions:
-
Get kth max element in array: Discussed all the approaches and their time complexities and coded the most optimized version. I did CP extensively in college so did this pretty easily.
-
Given 4 ints n,a,b,c tell the nth number is divisble by either a,b or c. eg: if n=2 and a=2,b=3,c=5 then ans is 3 similarly if n is 3 here then answer is 4
Preparation Tips
I've done DSA througly by participating in coding competitions at LC, CC, CF, TopCoder, Hackerearth so it was easier for me.