ProdMatch
CompaniesCitiesRolesSign in

Companies

  • Google
  • Microsoft
  • Meta
  • Amazon
  • Apple
  • Atlassian
  • Nvidia
  • Oracle
  • See all 51 →

Cities

  • Bengaluru jobs
  • Hyderabad jobs
  • Pune jobs
  • Gurugram jobs
  • Noida jobs
  • Delhi NCR jobs
  • Mumbai jobs
  • Chennai jobs
  • Remote-India jobs

Roles

  • QA / SDET Engineers
  • Backend Engineers
  • Frontend Engineers
  • Full-stack Engineers
  • Data Analysts
  • Data Engineers
  • ML / AI Engineers
  • DevOps / SRE Engineers
  • All roles →

ProdMatch

  • About
  • Career guides
  • Compare
  • Salaries
  • Skills
  • DSA practice
  • Privacy
  • Terms
  • Sign in

© 2026 ProdMatch.ai · Built for India · DPDP Act 2023 compliant · Job data sourced from official company career pages.

Back to DSA
Dynamic Programming / 2Dhard70 minSecurity Engineer

Patch Grid Reliability DP

Security Engineer signal: grid DP + path optimization in a patch priority queue context. This is a ProdMatch-owned security engineer drill, framed as a April 2026 Myntra Vulnerability Management simulation, not a copied platform question.

Company context

Myntra · Vulnerability Management

Freshness

April 2026

Product surface

patch priority queue

ProdMatch interview simulation based on product-team patterns; not a claim of a real company question.

Question

Model patch priority queue as a grid of processing zones. Move only right or down. Return the maximum reliability path score while avoiding blocked cells.

Input

  • Grid of scores with blocked cells marked -1.

Output

  • Maximum score from top-left to bottom-right, or -1.

Constraints

  • 1 <= rows, cols <= 1000
  • Scores may be zero.
  • Start or end may be blocked.

Concepts

  • attack graphs
  • policy tries
  • anomaly detection
  • grid DP
  • path optimization
  • obstacle handling

[[5,1],[2,4]] -> 11

Approach

Try framing your own approach first. The 30 seconds you think before peeking is where learning happens.

Clean Solution

Reveal the approach first.

How well did you understand?

Your rating tunes when this problem shows up again.

Common Mistakes

  • Blocked start/end must be handled before the loop.
  • Use the impossible sentinel consistently.

Next Similar Problems

Attack Grid Reliability DPhardPolicy Grid Reliability DPhardAnomaly Grid Reliability DPhard