Wayfair
  • OA
    • Karat
      • 811. Subdomain Visit Count
      • Ads Conversion Rate
      • Recommend Movie
      • Longest Common Continuous Subarray
      • Course Overlap
      • Halfway courses
      • Find one rectangle
      • Find all rectangles
      • Find Multiple Shapes
      • word wrap
      • word processor
      • Basic Calculator
      • Basic Calculator with parenthesis
      • 带变量计算器
      • Valid Matrix
      • nonogram
      • Node with 0 or 1 parents
      • 两个节点是否有公共祖先
      • 最远祖先
      • invalid Badge Records
      • 一小时内access多次
      • canSchedule
      • spareTime
      • sparse vector
      • sparse vector 实现add,dot和cos
      • userlogs earliest and latest access time
      • resource Access with in 5 min
      • Find Word Path in Grid
      • Find legal moves
      • 找能去的所有0区域
      • 最短路径找treasure
  • VO
    • Coding
      • Valid Palindrome
      • Add String
      • Coupon
    • System design
    • BQ
    • OOD
  • SD
  • LeetCode Tag
  • VO Onsite
Powered by GitBook
On this page
  1. VO

OOD

design rental app for bike and scooter. 主要是从class diagram,db table design,sequentia‍‍‌‌‍‌‍‌‌‌‌‍‍‍‌‌‍‌‍‌l diagram和activity diagram入手。

  • bike and scooter rental shop 一个rental shop 有两个product bike: 分size, 大中小 scooter: 分type, electric & gas 要求实现的功能有:

  • add product into inventory (admin)

  • remove a product from inventory i.e. permanently make a product un-rentalable, for example due to damage (Admin)

  • create user (Admin & guest)

  • user can check in the location whatever he visits.: (Admin & Guest)

  • check for balance for a user (if they owe us money) . (admin & guest)

  • rent product . (admin & guest)

  • return a product . (guest)

要完成: class diagram DB schema ,API sequence diagram, system diagram ??不记得了 follow up: what if we want to open up a new shop

OOPs: Design bike rental app: ran out of time in this, make sure u practice class diagrams system design: design check-in app, user can check in the location whatever he visits.:

PreviousBQNextSD

Last updated 3 years ago