#100DaysOfCode Day 20: Stars By Color

Shawn McMahon
Aug 1, 2021
Photo by Denis Degioanni

Todays Mission:

Return an object with keys of the different colors of the stars whose values are arrays containing the star objects that match

Example:
{

blue: [{obj}, {obj}, {obj}, {obj}, {obj}],

white: [{obj}, {obj}],

yellow: [{obj}, {obj}],

orange: [{obj}],

red: [{obj}]

}

The Data

Code snippet of the data set
Code snippet of the data set

The Solution

Code snippet of the solution
Code snippet of the solution

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Shawn McMahon
Shawn McMahon

Written by Shawn McMahon

Software Engineer, Snowboarder, Music Enthusiast

No responses yet

Write a response