JobsJob TrackerJob alerts

Chegg · 13 questions

All 13Coding 8System Design 1Low-Level Design 2Behavioral 2
  • Return horse race order at checkpointsCoding
  • Metro System Low-Level DesignLow-Level Design
  • Min Stack, Left Tree View, and LRU CacheCoding
  • Design a Security System and Scoreboard DashboardSystem Design
  • Longest Common SubstringCoding
  • Remove duplicates from a given stringCoding
  • Recursively remove all adjacent duplicatesCoding
  • Check if a string is Isogram or notCoding
  • Sort an array of 0s, 1s and 2sCoding
  • Chief motivation and weaknessesBehavioral
  • Encapsulation and Data StructuresLow-Level Design
  • Spiral Matrix TraversalCoding
  • Background and Future GoalsBehavioral
← Chegg questions
  1. Interview questions
  2. Chegg
  3. Return horse race order at checkpoints
CodingMedium

Return horse race order at checkpoints

Filed under Chegg

The question

Given 10 horses in a race with 5 checkpoints (C1 to C5), design a method taking a checkpoint number as input and returning the order in which the horses crossed that specific checkpoint.

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

Related Chegg questions

  • Min Stack, Left Tree View, and LRU Cache
  • Recursively remove all adjacent duplicates
  • Check if a string is Isogram or not
Metro System Low-Level Design →

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