solulubeta
Sign in
DSA Basics / Exam level
03.18 · Problem

Seating the Team Together

Hard Fixed window over a rearrangement Pro

This problem is part of solulu Pro

A row of seats is marked 1 where a team member is sitting and 0 where someone else is. The team wants to sit all together, and the only move allowed is to swap a team member with a non-member somewhere else in the row.

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 83 of 90 · updated 2026-10-12