Mercari Japan, Recently Asked Online Assessments in 2026 | Process Tree

Mercari · Question · Posted Apr 2026

1. Process Tree Problem Statement: A hypothetical chain of processes is represented as a tree. Processes are numbered starting at 1, incremented by 1. Every process spawns a number of processes equal to its process number. The first node, processNumber 1, spawns 1 process, the second spawns 2 and so on. See the graph below. Given a process number, find the process number of its parent. Example processNumber = 6 (Referencing the standard tree diagram where 1 connects to 2; ...

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

Log in Create a free account