Tesco | SDE2 | Banglore | Feb 2023
Anonymous User
5001

Current Position :

  • Status: 4.5 years
  • Position: SE2 at PayPal
  • Location: Chennai
  • Date: January 25, 2023

Round 1 :

  • Project Discussion ( Architecture ) , Role and Responsibility
    Tesco gets millions of orders every day with an average basket size of 100 items.
    Tesco Business has got some regulations around selling products online and in stores.
    These regulations are mandatory from legal and business perspective to enforce for all order transactions.
        You are given an order with a list of products in the shopping cart/basket with productid, product Category and quantity. And also, Restriction Rules on Qty and Qty/Category.
        Example:
        Ordered items in the shopping cart/basket
        Item-1 -> productid=1, category=Paracetamol, quantity=3
        Item-2 -> productid=2, category=analgesic, quantity=3
        Item-3 -> productid=3, category=chocolate, quantity=8
        Item-4 -> productid=4, category= Paracetamol, quantity=2

        Business Restriction rules:
        Cannot buy more than 10 Quantity of any products - BulkBuyLimit
        Cannot buy more than 5 Quantity of paracetamol products – BulkBuyLimitCategory

        Write a restriction rule engine to run the restriction check against the shopping cart/basket and return the status as to MET/BREACHED indicating restriction
        status for the given restriction rules.
        For the above given example, the restriction status returned would be MET.

Round 2 :

  • Project discussion
  • System Design ( High Level + Low Level ) -> find K top songs from Spotify / Gaana.

Result:

  • Not Selected
Comments (4)