solulubeta
Sign in
DSA Basics / Building up
02.26 · Problem

Ladies' Compartment First

Easy Stable partition into a new array Pro

This problem is part of solulu Pro

Tickets are printed in the order they were bought. At boarding, all the tickets with even numbers are handled first and the odd ones afterwards, but within each group the original order of purchase has to be kept.

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

Item 56 of 90 · updated 2026-10-12