Karat logoKarat
CodingMembers

Choose-Your-Path Book: Reaching Endings Under a Fixed Choice Rule

Members only

A multi-part coding question about a branching story book where choices send you to different pages. You simulate reading under a fixed rule, then reason about which endings are reachable and which pages get read most. It tests careful graph modelling and termination handling.

SWE
graph
simulation
cycle-detection
hashmap
easy
Frequency
Single report
Last asked
—
Stage
phone-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 5 talking points
  • 4 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...