Microsoft Azure | New Grad | Hyderabad - Virtual Onsite | Mar 2021
Anonymous User
929

Engineering Manager with 20 YOE in Azure team took my 2nd interview.
Quoting exact question from the interview, no further details/examples/testcases provided.


Design and implement connnection reporting system which given connectionIds and connectionStates for users, reports overall classified connection count for users.

  • Connection States : Initiated, Arbitrated, ArbitrationFailed, suceeded, Failed.
  • Transitions : Initiated->Arbitrated/ArbitrationFailed; Arbitrated->Suceeded/Failed
  • Input : (UserId, connectionId, connectionState) -> Multiple entries of this triple
  • Output : UserId1: # of initiated=n1, # of arbitrated=n2...# of Failed = n5; UserId2: # of initiated=m1, # of arbitrated=m2...# of Failed = m5;...

Entire question to be coded in 35 minutes. Minimal explaination provided. Asked me to first write the code and if I get issues in it then ask him doubts. Refused to discuss design before coding. Asked me explicitly to jump into coding.

Comments (1)