Swiggy
More Experiences
SWIGGY SDE 1 | (RECRO ) | SOFTWARE ENGINEER | INTERVIEW PROCESS
January 21, 2024 • 3 reads
Summary
I successfully navigated through Swiggy's SDE 1 interview process, which included an online coding test, a technical PSDS round, and a hiring manager round focusing on system design, ultimately leading to an offer.
Full Experience
My interview process for the SDE 1 role at Swiggy was structured into three distinct phases:
- Online Coding Test: This round consisted of three coding challenges: one easy, one medium, and one medium-hard problem. I performed well and received a positive response, advancing to the next stage.
- PSDS Round (Technical Discussion): This was a technical problem-solving and data structures round. I was given a problem involving currency conversion rates, which I solved using Golang. The problem required finding the conversion rate between two given currencies based on an array of direct conversion rates.
- HM-Round: The final round was with the Hiring Manager, focusing on System Design. We discussed Low-Level Design (LLD) principles, resilient system patterns, and concurrency concepts.
All three rounds were positive, and I successfully received an offer for the SDE 1 position.
Interview Questions (1)
Q1
Currency Conversion Rate Calculation
Data Structures & AlgorithmsMedium
You are provided with two parameters:
- An array of currency conversion rates. For example,
['USD', 'GBP', 0.77]means 1 USD is equal to 0.77 GBP. - An array containing a 'from' currency and a 'to' currency.
Given these parameters, your task is to find the conversion rate that maps the 'from' currency to the 'to' currency. The return value should be a number.
Example:
You are given the following parameters:
- Rates:
['USD', 'JPY', 110],['US', 'AUD', 1.45],['JPY', 'GBP', 0.0070] - To/From currency:
['GBP', 'AUD']
Find the rate for the 'To/From' currency. In this case, the correct result is 1.89.