LeetCode Question · Dec 2024 · USA

PocketPills | SDE2 | GGN | Dec 24

Data Science Phone Screen
114 views

Question Details

Round 1 DS/PS Gas Station Singleton class and implementation. final, static, transient, synchronized and volatile keywords and their usage. Immutable class in Java and implementation.

Round 2 System Design Design a...

Full Details

**

Round 1 DS/PS**

  • Gas Station
  • Singleton class and implementation.
  • final, static, transient, synchronized and volatile keywords and their usage.
  • Immutable class in Java and implementation.

**

Round 2 System Design*
* Design a Dropbox like system (HLD)
* Requirements
\t
Users can log in and log out.
\t Users can upload/download multiple files (file size limited to 1GB).
\t
Daily Active Users - 1M
\t User uploads 1 file daily.
* Discussions
\t
APIs: Login, logout, upload, and download.
\t File storage: Using cloud storage (e.g., AWS S3) and handling large files with chunk uploads.
\t
Security: Adding user authentication (JWT) and encrypting files during upload/download.
*

Follow-up:
\t* How to allow users to share files to other users?

Final Verdict

Rejected after the second round.

About This Question

This is a reported interview question from a dropbox interview for a data science role during the phone screen round reported in 2024.

It covers the following topics: System Design, Oop .