← TurboHire questions

Boys and Girls line alignment

Filed under TurboHire

The question

Given x boys and y girls aligned in a straight line, find the maximum of the minimum number of boys and girls standing together.

No write-up yet. Related questions below have one.

Related TurboHire questions

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