A few months back, I applied through a referral at Uber.
My first step was a CodeSignal test with two coding questions.
I managed to solve both completely, passing 100% of all test cases.
Focus: DSA
One coding question based on DP — solved successfully.
Given two strings, s and t, consisting only of lowercase English characters. Determine the minimum number of times s must be appended to itself for t to be a subsequence of the resulting string.
s: boy
t: oyb
ans: 2, "boyboy" - oyb is a subsequence of this.
After about a week, the recruiter reached out to arrange the all the upcoming interviews.
They scheduled four rounds.
Focus: DSA
2 questions were asked and before jumping to solution, strong focus of TC and SC.
1st: https://leetcode.com/problems/cheapest-flights-within-k-stops/
2nd: https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards/description/
Focus: LLD
Problem:
Implement file system APIs:
I was asked on focus on providing a working solution and that's it. mkdir and pwd were easy. cd was difficult with a wildcard: * that means the * could match any of '.', '..' or any children directory.
Focus: HLD
Design a backend system for an e-commerce website that displays merchandise. The system's scope is limited to the browsing experience, specifically excluding the purchase process. Popularity data should be used to select and highlight the top items.
I was asked to prepare an event processor that would handle vast amounts of events, such as 'Product added to Cart,' 'Product viewed,' 'Product wishlisted,' and 'Product purchased.' The questions posed to me were: 'Where should this data be stored?' and 'What should be prioritized: consistency or availability?'
Used all the widely used HLD concepts like:
Kafka for event ingestion.
Mongo DB for storing the product catalog.
Redis for Leaderboard of products and caching the top k items.
At the end, the interviewer asked to give the example of data what you will store in mongo because I added mongo in design but didn't make it clear on what I will store in it.
This round was scheduled but then cancelled.
Received an offer! Accepted.
https://leetcode.com/discuss/post/7290286/uber-software-engineer-ii-bangalore-comp-rjb0/