New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Robinhood
Coding Question
AI Insights
Quick Summary
Model role inheritance as a directed acyclic graph where edges represent privilege transfer.
Process roles in a dependency-respecting order to propagate allowed and disallowed privileges.
Compute final privileges per role by merging inherited sets, applying exclusions, and sorting.
What This Tests
Graph modeling and traversal
Dependency resolution
Set operations and filtering
Topological ordering concepts
Common Patterns
Graph Traversal
Sorting
Hashing
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected