Matrix | OA | 2026 |Process Tree | Lottery Winner
Question · Posted Apr 2026
Problem 1: Process Tree (Mathematical Sequence) The Scenario Processes are numbered sequentially starting from 1. A unique rule governs the tree structure: Process n spawns n new child processes. Process 1 spawns 1 child (Process 2). Process 2 spawns 2 children (Processes 3 and 4). Process 3 spawns 3 children (Processes 5, 6, and 7). Goal: Given a processNumber, find the number of its parent. Problem 2: Lottery Winner (3D Dynamic Programming) The Scenario You have a lotteryID and a ...
The full answer & interview discussion are available to premium members.
Log in Create a free account