← Capgemini questions
CodingReported in a candidate post, Nov 2021

Spiderman's webs minimum count to reach last building

Filed under Capgemini

Spiderman moves across N buildings. Each building requires at least 1 web. If a building is taller than its neighbor, it must have more webs than that neighbor. Calculate the minimum total webs needed…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Capgemini questions

Collected from public candidate posts and coding forums. Updated Nov 2026.