楼主: fby0656
跳转到指定楼层
上一主题 下一主题
收起左侧

[题目讨论] 系统设计问题/面试题总结 - my collection of system design interview questions

   
🔗
 楼主| fby0656 2019-8-26 11:44:30 | 只看该作者
全局:
The Top 10 Object-Oriented Design Interview Questions

https://medium.com/hackernoon/th ... d-know-c7fc2e13ce39

1. Design Amazon / Flipkart (an online shopping platform)

Beyond the basic functionality (signup, login etc.), interviewers will be looking for the following:
Discoverability: How will the buyer discover a product? How will the search surface results?
Cart & Checkout: Users expect the cart and checkout to behave in a certain way. How will the design adhere to such known best practices while also introducing innovative checkout semantics like One-Click-Purchase?
Payment Methods: Users can pay using credit cards, gift cards, etc. How will the payment method work with the checkout process?
Product Reviews & Ratings: When can a user post a review and a rating? How are useful reviews tracked and less useful reviews de-prioritized?

2. Design a Movie Ticket Booking System

Interviewers would be keen on seeing the following points in your answer:
Duplication: How are you handling instances, such as the same cinema having multiple cinema halls showing different movies simultaneously? Or the same movie being shown at different times in the same cinema/hall?
Payment Handling: What would be the process for a user to purchase a ticket?
Selection: How would user a pick a seat, ensuring it’s not already booked by someone else?
Price Variances: How would discounted pricing be considered? For example, for students or children.

3. Design an ATM

Interviewers would want to see you discuss things like:
Overdrawing: What would you do when the ATM doesn’t have any cash left?
Pin Verification: What if a user enters a wrong PIN multiple times?
Card Reading: How would you detect if the card has been correctly inserted or not?

4. Design an Airline Management System

A good answer from an interviewer’s perspective would address:
Itinerary Complexity: How would multi-flight itineraries work? How would multiple passengers on the same itinerary be handled?
Alerts: How are customers notified if there’s a change to the flight status?
External Access: How would the system interact with other actors making reservations to the same flights, such as a front-desk operator for an airline?

5. Design Blackjack (a card game)

Your answer should ideally consider the following:
Scoring: On what level of the system is scoring handled? What are the advantages and disadvantages of this?
Rules: What kind of flexibility exists for playing with slightly different house rules if needed?
Betting: How are bet payouts handled? How are odds factored in?

6. Design a Hotel Management System

You’ll want to make sure you cover:
Room Complexity: How will the system support different room types within the same hotel?
Alerts: How will the system remind users that their check-in date is approaching? What other alerts might be useful to factor in?
Customization: How would users make special requests on their room? What kind of special requests would be supported?
Cancellation / Modification: How would the system treat booking cancellation (within the allowed time period)? What about other changes? What types of modifications would be covered?

7. Design a Parking Lot

This is one of the most common OOD interview questions and a must-know.
The interviewer will want to hear you discuss:
Payment Flexibility: How are customers able to pay at different points (i.e. either at the customer’s info console on each floor or at the exit) and by different methods (cash, credit, coupon)?
Capacity: How will the parking capacity of each lot be considered? What happens when a lot becomes full?
Vehicle Types: How will capacity be allocated for different parking spot types — e.g. motorcycles, compact cars, electric cars, handicap vehicles, etc.?
Pricing: How will pricing be handled? It should accommodate having different rates for each hour. For example, customers have to pay $4 for the first hour, $3.5 for the second and third hours, and $2.5 for all the remaining hours.

8. Design an Online Stock Brokerage System

A good answer would cover these points:
Watchlists: How would the system handle watchlists created by the user to save/monitor specific stocks?
Transaction Types: How would the system handle different transaction types, e.g. stop loss and stop limit order? What types would be supported?
Stock Lots: How will the system differentiate between different ‘lots’ of the same stock for reporting purposes if a user has bought the same stock multiple times?
Reporting: How will the system generate reports for monthly, quarterly, and annual updates?

9. Design a Car Rental System

Candidates should be able to discuss the following:
Identification: How will each vehicle be uniquely identified and located within the parking garage?
Fees: How would the system collect a late fee for late returns?
Logs: How would the system maintain a log for each vehicle and for each member?
Customization: How would the system handle members’ requests for additional services like roadside assistance, full insurance, and GPS?

10. Design Facebook — a social network

Your answer should ideally cover:
Discoverability: How are users able to search other users’ profiles?
Following: How are users able to follow/unfollow other users without becoming a direct connection?
Groups / Pages: How are members able to create both groups and pages in addition to their own user profiles?
Privacy: How will the system handle privacy lists with certain content to be displayed only to specified connections?
Alerts: How will users be notified for pre-selected events?
回复

使用道具 举报

🔗
Michael_tseng 2019-9-16 06:41:56 | 只看该作者
本楼:
全局:
谢谢分享!
回复

使用道具 举报

🔗
张思帆66 2020-1-10 12:30:28 | 只看该作者
全局:
非常有用 给你点个赞
回复

使用道具 举报

🔗
ChrisKPQS 2020-1-10 20:06:14 | 只看该作者
本楼:
全局:
非常感谢
回复

使用道具 举报

🔗
hj330ray 2020-2-11 12:22:28 | 只看该作者
全局:
这些题目有比较详细的解说吗?(还是因为我级别低看不到)?
回复

使用道具 举报

🔗
kittin1993 2020-2-16 08:39:54 | 只看该作者
全局:
谢谢楼主分享!!
回复

使用道具 举报

🔗
violabb 2020-2-17 01:53:02 | 只看该作者
全局:
收藏了,感谢楼主
回复

使用道具 举报

🔗
MissAshelley 2020-3-14 22:47:06 | 只看该作者
本楼:
全局:
感谢分享
回复

使用道具 举报

🔗
xixi225jwb 2020-4-8 10:46:50 | 只看该作者
全局:
这个好,谢谢~
回复

使用道具 举报

🔗
Rinnkai2020 2020-5-10 01:24:03 | 只看该作者
全局:
马一个,多谢楼主
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表