Duration
Problem Statement
Design an application called Covid Tracker.
Write code which tracks the Covid records. The code should be demonstrable.
Register and Login
Admin and regular users should be able to register and login
Covid Cases
Admin should be able to add / update / delete regular user Covid data
Self Assessment
User should be able to assess themselves.
Assessment factors:
A. Not vaccinated
B. Came in contact with Covid patient
C. Visited covid red zone
Covid Zones
I used area pincode to decide the region.
RED Zone: >=75 % cases
Orange Zone: 25 % <= cases <= 75 %
GREEN Zone: <25 %
After completing above cases, you can consider adding more features to the app like supporting more Covid factors, displaying the Covid zones based on date ranges, etc. Please note that bonus cases are good to have and not mandatory.
register user 8329573115 411021
register admin 8329573016 411021
selfassessment 8329573115 y y n
covidresult 8329573016 8329573115 y
covidresult 8329573011 8329573117 n
getzone 411021Hopefully I was able to clear the machine coding round but had hard luck for the third round.
How to Prepare ?
Go through this article to know more.
Thanks and all the best!
I've also gone through other companies machine coding rounds and successfully cleared the rounds.
Upvote if you find this question helpful and want me to post other questions as well.