Juspay, Recently Asked Online Assessments in 17 July, 2025 | The Medieval Market Problem

Question · Posted Apr 2026

The Medieval Market Problem Storyline: In a medieval kingdom, the king has decided to organize a grand marketplace along the castle's main road. Due to security and order concerns, each merchant must set up their stall within a designated area along the road. The kingdom's guards have marked out $n$ intervals along the road where each merchant is allowed to place their stall. The king wants to ensure that the stalls are placed as far apart as possible to avoid ...

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

Log in Create a free account