Tesco | SDE3 | Bangalore | may-2024

Anonymous User
3613
Jun 03, 2024

Tesco
R1. Coding : Tesco has a fleet of vehicles to deliver orders to the customer. Assigning the right set of orders to different sized vehicles is crucial for efficient delivery of orders. Different vehicle can fit different container sizes.

Given c containers, along with their volumes [l,b,h], catalogue of product with its volume requirement (l,b,h) and an order with p products and its quantity.

Example:
Containers:
SMALL -> id=1, length=10, breadth=20, height=30
MEDIUM -> id=2, length=50, breadth=60, height=70
LARGE -> id=3, length=100, breadth=200, height=300

Product:
productId=1, length=2, breadth=4, height=10
productId=2, length=10, breadth=30, height=4
productId=3, length=5, breadth=6, height=7

Order:
productId=1, quantity=3
productId=3, quantity=7

Determine if that order fits in any of the given c containers and return the ID of the container that can be used.
Given n orders, determine the maximum number of orders that can be fit into a particular container.

Tesco R2 : design a distributed cart system where multiple users can order add delete the items from the cart. Also like once any change is occured notification will be sent to other users.

My design round didn't go well. Hence I got rejection mail.

Comments (8)