Files

1.5 KiB

Hints

General

  • This challenge is all about calculating if a point falls on, in, or outside a given circle.
  • There are two different ways of calculating if a point falls on, in, or outside a circle.
  • Because the dart board is a set of concentric circles, the order in which you calculate points could change the answer significantly. You should pay attention to which direction your calculations "move" in.
  • Remember that this exercise has many potential solutions and many paths you can take along the way. No path is manifestly "better" than another, although a particular path may be more interesting or better suited to what you want to learn or explore right now.
  • Some paths may trade speed for clarity. Others might take up more memory but be more scalable or maintainable.
  • We encourage you to try out more than one programming strategy to see what happens.