Tap here to switch tabs
Problem
Submissions

Problem: Sort Threats by Severity and Exploitability

med
30 min
Try to solve the Sort Threats by Severity and Exploitability problem.

Statement

You are given a 2extD2 ext{D} integer array threats, where threats[i] =[extIDi,extsevi,extexpi]= [ ext{ID}_i, ext{sev}_i, ext{exp}_i] represents a threat with an identifier $ ext{ID}_i$, severity score $ ext{sev}_i$, and exploitability score $ ext{exp}_i$.

The total threat score for each threat is calculated as:

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Sort Threats by Severity and Exploitability

med
30 min
Try to solve the Sort Threats by Severity and Exploitability problem.

Statement

You are given a 2extD2 ext{D} integer array threats, where threats[i] =[extIDi,extsevi,extexpi]= [ ext{ID}_i, ext{sev}_i, ext{exp}_i] represents a threat with an identifier $ ext{ID}_i$, severity score $ ext{sev}_i$, and exploitability score $ ext{exp}_i$.

The total threat score for each threat is calculated as: