Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPrep Other Coding Questions Asked by Verkada
Continue with targeted prep from Verkada's coding question bank.
Interview Summary
The Verkada technical screen asked me to implement permission resolution for an enterprise camera-access system with users, groups, and cameras. Users could receive camera permissions directly or inherit them through nested group memberships. The task was to identify whether there was a single user who effectively had access to every camera in the organization, while correctly handling multi-level groups and cyclic group relationships.
Interview Details
Coding — Find the User with Access to Every Camera
The system contains three entity types:
UserGroupCamera
Permissions are provided as triples (source, relationship, destination). Two relationship types are supported.
- A
camera_ownerrelationship means a user or group directly owns access to a camera:("user_ops", "camera_owner", "camera_gate") - A
group_memberrelationship means that a user or another group belongs to the destination group:("user_ops", "group_member", "group_security")
Membership is transitive. If a user belongs to a group, and that group belongs to another group, the user inherits camera permissions from both levels. Implement: find_admin_user(perms_data) -> str | None. The function should
Unlock Full Details
Create a free account to unlock this interview experience report.