Back to challenges

Array Mastery

Build a TypeScript array playground: accept a comma/space separated list of numbers and apply sort (asc/desc), filter (even/odd), map (double), reduce (sum) and dedupe operations, showing the result after each click.

Difficulty

Medium

Estimated Time

30 minutes

Acceptance Criteria

All seven operations work on randomized seeded inputs and print correct results in order; empty input does not crash the page (bonus); no console errors.

Submit Your Solution

Share the URL where your solution is hosted (Vercel, Netlify, etc.)