1. Tax Calculation and Library Interface Design
During a pair programming session, you are given a simple task to calculate tax. The implementation is straightforward, but the interviewer is looking for two things: clear calculation of the tax and designing interfaces from a library perspective to provide to the users. How would you ensure accurate tax calculation and what interfaces would you provide in the library for the users?
2. Design a System for Restaurant Schedule Management
In a system design interview, you are tasked with designing a system to help managers of several restaurants manage and arrange schedules. The interviewer is primarily interested in the data model and API specifications rather than system scalability. How would you design the data model and API for this system?
3. Past Projects and Mentorship Experience
In a Project Experience (PE) round, which is akin to a hiring manager round, you are asked about your past projects and experiences with mentorship. How would you describe your most significant project and your role in mentoring others?
4. Classic Money Distribution Algorithm
For the coding round, you are given the classic problem of money distribution. You are expected to write the code and handle any typos to ensure the program runs correctly. How would you solve this problem, and what would be your strategy to debug and fix typos in your code?
5. Implement Key-Value Store with Delete Functionality
During a phone interview, you are asked to implement a key-value store with high frequency, and as a follow-up, implement the delete functionality for the key-value pairs. How would you approach designing and implementing this system?