Giving Back to the Community that helped me.
Plarform: hackerrank
Screening Round:
Given a customer purchase log for two different days (fields: customer_id, product_id), the task was to find loyal customers who made purchases on both days and bought at least three distinct products in total.
Machine Coding Round:
The problem involved implementing an order management system.
Each order is categorized based on its price:
Cheap: price < 20
Medium: 20 ≤ price ≤ 40
Expensive: price > 40
You were required to compute the total discounted price of all orders.
The task involved implementing the Order and OrderService interfaces with methods such as:
addOrder()
getOrderList()
getTotalDiscountedPrice()
getDiscountedPriceByCategory()
(and other related methods)
LLD (Low-Level Design) Round:
The question focused on designing a Parking Lot System with emphasis on:
Parking slot allocation and release logic
Ensuring concurrency handling
Making the design scalable and extensible


