Razorpay round 1 interview experience
Company: Razorpay
Role: senior software engineer
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
Recruiter reached out via Naukri
Exp: 4 years
Role: SSE
Round 1:
Design an in-memory SQL like database
- You should be able to store rows
- Columns could be of int, string or boolean datatype
- We should be able to set a primary key or set of primary keys
- Create index on the primary key
- Should not break on concurrent operations
- Should be able to create tables, rows and columns
You can find more details about this question on other interview experiences on LeetCode
Suggestions:
- Don't just directly jump into the problem; understand the problem. You should know how you will store the data and index the columns; that is the important part.
- Keep input sanitization in mind, for example, if you give an empty column name or things like that
Verdict: Rejected