Infosys | Hackwithinfy | OA | Hero Duel Intensity | April 2026

Infosys · Question · Posted Apr 2026

Problem Statement: Hero Duel Intensity The Scenario: In the world of Valoria, heroes participate in one-on-one duels. The "intensity" of a duel between two heroes (i,j) follows a strict formula that builds upon previous battles. The Intensity Rules (I(i,j)): Base Case: The first-ever duel, D(1,2), has an intensity of 1. Recursive Growth: Every subsequent duel's intensity is governed by the previous intensities. While the full formula isn't visible in the snippet, these problems usually follow a pattern where I(i,j) depends ...

The full answer & interview discussion are available to premium members.

Log in Create a free account