AI Features

Sort Colors

Try to solve the Sort Colors problem.

Statement

Given an array, colors, which contains a combination of the following three elements:

  • 0 (Representing red)

  • 1 (Representing white) ...

Ask