Find the minimum path sum in a grid with a parity-based doubling rule.
Unlock detailed company stats for this questionUpgrade
Move only right or down from the top-left cell to the bottom-right cell. Maintain a running sum, and apply an additional doubling rule when the relevant values have the same parity. This likely requires grid DP with parity as an additional state. (Reconstructed from memory.)
Format · Online assessment.
Community answers
No answers contributed by the community yet.


