Filtering on a GPU: flag what survives, scan to find out where it lands, then gather it into a packed array.
5 tasks
This page is an interactive exercise — the editor, the GPU runner and your saved progress need JavaScript. The text above is the full brief.