HW_Week1_Day5_ListAndSets 😃


The Home Work has three components to be delievered before 9AM: ⚠️

  • Practice with Scope Functions.
  • Practice with Lists and Sets.
  • Practice with Maps.

Note: You must save all your solution as solution.kt to be submitted before 9AM. ⚠️

Instructions 📋

Part I - Practice with Scope Functions.


Create a working exmaple withing 'Let, Run, and Also'

Part II - Practice with Lists and Sets.


Create a list and return a data from it, the update or add elements to it

Create a list then add repetitive and unique elements to it, the convert it to set, then add new elements to it and check the set value

Part III - Practice with Maps.


Write an asnwer to this question: What are the cases that I need to use the map for

Create a map of 20 elements of string key and double value

Learning Resources 📚