Licious | SDE2

Anonymous User
1309
Nov 02, 2024
Nov 02, 2024

I was approached by one of the HRs of Licious for the SDE2 (Backened Java Profile).
Inititally I was asked to complete an assessment which on the website called Unberry.
The assessment had :

  1. MCQ related to java, spring/spring boot etc
  2. DSA : Finding the two numbers whose sum is equal to the target
  3. LLD questions :
    a. Music system
    b. Book store management

After the online I got call for the interview within a week.

Round 1 (Technical Interview) :
I was asked to design a database schema for the folowing problem statement :
Example :
Schema Design :

  • Composition : Paracetamol (500 MG) + Deca (5 MMG)
  • Molecule : Paracetamol + Deca
  • Ingredients : Pracetamol, Deca
  • Strength : 500, 5
  • Unit : MG, MMG
  • RxRequired : True (boolean)

Explaination for the problem statement :

  • Composition : Contains the details of Ingredients, Strength and its unit
  • Molecule : Combination of one or more ingredients
  • Ingredients : Names of the ingredients to be used in molecule
  • Strength : For each ingredient we will get some number
  • Unit : Unit to be taken for medicine
  • RxRequired : Boolean type (True or False)

After the table was create I was suppose to write a query to :
Select all molecules with ingredients “Paracetamol” and with strength 500

And that's it.
Somewhat i was able to create the tables and mapping but the interviewer was confusing everytime and couldn't complete my schema design and was unable to go till the query writing.

Final Verdict : Rejected

I had a really good learning here, it was my first start-up interview and I was not at all expecting a schema design problem in the first round. I was majorly focussing on DSA for this round.

Please comment down some good schema design problems which I can practice going forward and viewers can also refer to the same.
Thanks LeetCode fam !!!

Comments (2)