InterviewDB Question

Resource Access Log: Audit Who Accessed What Resource and When

Question Details

Problem You are given a list of access log entries: {user_id, resource_id, action, timestamp} where action is "read" or "write". Answer two queries: most_accessed(resource_id): return the user_id who accessed the resource the most times total. unauth…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding