Skip to main content

Evidence Gauntlet

Challenge on lesson: Checkpoint: Performance

CHALLENGE
Difficulty: advanced+25 XP

Two graded properties: (1) buildRange produces n values with at most one allocation, (2) countDistinct uses hashing so tracked element comparisons stay at zero.

Back to lesson: Checkpoint: Performance