Company: Amazon_4_feb
Difficulty: medium
Find Breached Employees body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; line-height: 1.6; color: #333; } h1, h2 { border-bottom: 1px solid #eaecef; padding-bottom: 0.3em; } code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; background-color: #f6f8fa; padding: 0.2em 0.4em; margin: 0; font-size: 85%; border-radius: 3px; } pre { background-color: #f6f8fa; padding: 16px; overflow: auto; border-radius: 3px; } ul, ol { padding-left: 20px; } strong { font-weight: 600; } Find Breached Employees Problem Description A company wants to identify employees whose accounts have been "conclusively compromised" based on access logs and a list of tampered storage units. There are n employees and m storage units. The rules for determining an employee's status are as follows: An employee is considered not compromised if they have access to at lea