注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
SQL (30min):
# Problem: Consecutive Login Failures
# users
# | user_id | email |
# | ------- | ----------------- |
# | 1 | |
# | 2 | |
# | 3 | |
# logs
# | user_id | timestamp | status |
# | ------- | ------------------- | ------- |
# | 1 | 2024-03-20 09:00:01 | failure |
# | 1 | 2024-03-20 09:00:45 | failure |
# | 1 | 2024-03-20 09:01:10 | failure of valid substrings in the given binary array.
# Example:
# Input:
# [0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1]
# Output:
# 6 (01, 10, 01, 0011, 000111, 00001111)
Data Modeling (1hr):
Design a booking system that allows customers to search and book concerts and movies
- Design a data warehouse in AWS, GCP, or Azure
- How can users query these data?
|