Clever Average Students per Section
For the problem, I determined the solution for visible students per section with the DEMO_TOKEN API key to be 24. I made a GET request to the
/v1.1/sections route with a few modifiers (
limit set to max and
distinct set to return student JSON arrays in sections only).
Using Go, I wrote a struct that takes in the 2D array of data, and logic in my main function that increments an info struct that contains total students and sections. I then return the average of this result.