SlideShare a Scribd company logo
14#2
You and your friends race to the gym after school, and when you go through the 1-person-at-a-
time entrance, the system records who came that day and in what order. You get access to that
data, GYM VISITS), as a list of visits. Each visit is a word with the first name initials (e.g., if my
name is "Dan", the system would write "D") of the people who got there in the order they got there.
For example, on the fourth day, D (Dan) got there first, E (Eduardo) got there second, and nobody
else went to the gym. Fortunately, you all have unique first name initials! Here is an example from
five days' visits; note that not everyone goes to the gym every day: Select the simplest HOF
expression "structure" for each of the following calculations that will process GYM VISITS, i.e., the
one that uses the fewest total HOFs. We still might need to fill in more later to compute what we'd
like to compute (but note that we're not allowed to use any recursion or repeat/repeat
until/for/foreach loops -- the only machinery is the maps and keeps listed). Note that map and
keep helpers are just separate reporters with one instance of that particular HOF (map or keep)
within them. Below is an example of a keep helper that takes a visit and returns an equivalent visit
without F (Francisca), since she moved away.a) The winners when one particular person was
there. None of the above b) The list of all the entries sorted alphabetically.c) The number of times
one person beat another. 2 from keep items from keep items from map over keep items from None
of the above d) The head-to-head matchups between two people, in which everyone but those two
people are removed from the gym data. head-to-head between A and B in GYM VISITS map over
keep items from map keep helper over map map helper keep items from keep items from map
over keep items from None of the above e) All the initials in the visits converted to lowercase.e) All
the initials in the visits converted to lowercase. map over map over keep items map keep helper
over map map helper over keep items from keep items from map keep items from None of the
above f) The winners of each visit.

More Related Content

More from ableelectronics

Chief Complaint 23yearold man with immunce deficiency His.pdf
Chief Complaint 23yearold man with immunce deficiency His.pdfChief Complaint 23yearold man with immunce deficiency His.pdf
Chief Complaint 23yearold man with immunce deficiency His.pdfableelectronics
 
Why did we choose to process BMP image files rather than ot.pdf
Why did we choose to process BMP image files rather than ot.pdfWhy did we choose to process BMP image files rather than ot.pdf
Why did we choose to process BMP image files rather than ot.pdfableelectronics
 
Using the data in the table what is Walmarts NYSE WMT b.pdf
Using the data in the table what is Walmarts NYSE WMT b.pdfUsing the data in the table what is Walmarts NYSE WMT b.pdf
Using the data in the table what is Walmarts NYSE WMT b.pdfableelectronics
 
void f int x The above code is a c++ function In ter.pdf
void f  int x  The above code is a c++ function In ter.pdfvoid f  int x  The above code is a c++ function In ter.pdf
void f int x The above code is a c++ function In ter.pdfableelectronics
 
This project is broken up into Windows and Mac versions lis.pdf
This project is broken up into Windows and Mac versions lis.pdfThis project is broken up into Windows and Mac versions lis.pdf
This project is broken up into Windows and Mac versions lis.pdfableelectronics
 
The as of Ct+11 allows what benefit It can be shared by .pdf
The as of Ct+11  allows what benefit It can be shared by .pdfThe as of Ct+11  allows what benefit It can be shared by .pdf
The as of Ct+11 allows what benefit It can be shared by .pdfableelectronics
 
Tartma stemi Yantlamak iin aadaki sorulardan birini sein.pdf
Tartma stemi  Yantlamak iin aadaki sorulardan birini sein.pdfTartma stemi  Yantlamak iin aadaki sorulardan birini sein.pdf
Tartma stemi Yantlamak iin aadaki sorulardan birini sein.pdfableelectronics
 
Supportive leadership is the same as which of the following .pdf
Supportive leadership is the same as which of the following .pdfSupportive leadership is the same as which of the following .pdf
Supportive leadership is the same as which of the following .pdfableelectronics
 
System Analysis Assignment 4 Due date See LEARN Max Marks.pdf
System Analysis Assignment 4 Due date See LEARN Max Marks.pdfSystem Analysis Assignment 4 Due date See LEARN Max Marks.pdf
System Analysis Assignment 4 Due date See LEARN Max Marks.pdfableelectronics
 
Sarah tiene 30 aos y es madre de dos nios pequeos de 3 y.pdf
Sarah tiene 30 aos y es madre de dos nios pequeos de 3 y.pdfSarah tiene 30 aos y es madre de dos nios pequeos de 3 y.pdf
Sarah tiene 30 aos y es madre de dos nios pequeos de 3 y.pdfableelectronics
 
Real GDP per capita in the country of Arcadia grew from abou.pdf
Real GDP per capita in the country of Arcadia grew from abou.pdfReal GDP per capita in the country of Arcadia grew from abou.pdf
Real GDP per capita in the country of Arcadia grew from abou.pdfableelectronics
 
Rex y Felix son los nicos accionistas de Dogs and Cats Corp.pdf
Rex y Felix son los nicos accionistas de Dogs and Cats Corp.pdfRex y Felix son los nicos accionistas de Dogs and Cats Corp.pdf
Rex y Felix son los nicos accionistas de Dogs and Cats Corp.pdfableelectronics
 
please use only these Part 1 Organize the code 85 Fo.pdf
please use only these   Part 1 Organize the code 85  Fo.pdfplease use only these   Part 1 Organize the code 85  Fo.pdf
please use only these Part 1 Organize the code 85 Fo.pdfableelectronics
 
Question 1 Fill in the blanks Compute what is ask begi.pdf
Question 1    Fill in the blanks Compute what is ask begi.pdfQuestion 1    Fill in the blanks Compute what is ask begi.pdf
Question 1 Fill in the blanks Compute what is ask begi.pdfableelectronics
 
1What is meant by project life cycle and briefly explain th.pdf
1What is meant by project life cycle and briefly explain th.pdf1What is meant by project life cycle and briefly explain th.pdf
1What is meant by project life cycle and briefly explain th.pdfableelectronics
 
Please complete method popleft in python which calls _remove.pdf
Please complete method popleft in python which calls _remove.pdfPlease complete method popleft in python which calls _remove.pdf
Please complete method popleft in python which calls _remove.pdfableelectronics
 
Let the sample space be S12345678910 Suppose th.pdf
Let the sample space be S12345678910 Suppose th.pdfLet the sample space be S12345678910 Suppose th.pdf
Let the sample space be S12345678910 Suppose th.pdfableelectronics
 
Let Y1YniidBernoulli a Use the asymptotic distributi.pdf
Let Y1YniidBernoulli a Use the asymptotic distributi.pdfLet Y1YniidBernoulli a Use the asymptotic distributi.pdf
Let Y1YniidBernoulli a Use the asymptotic distributi.pdfableelectronics
 
LONG essays 25 points each 1 Explain how the interaction .pdf
LONG essays  25 points each 1 Explain how the interaction .pdfLONG essays  25 points each 1 Explain how the interaction .pdf
LONG essays 25 points each 1 Explain how the interaction .pdfableelectronics
 
1 In the early 17th century a small puritan population mo.pdf
1 In the early 17th century a small puritan population mo.pdf1 In the early 17th century a small puritan population mo.pdf
1 In the early 17th century a small puritan population mo.pdfableelectronics
 

More from ableelectronics (20)

Chief Complaint 23yearold man with immunce deficiency His.pdf
Chief Complaint 23yearold man with immunce deficiency His.pdfChief Complaint 23yearold man with immunce deficiency His.pdf
Chief Complaint 23yearold man with immunce deficiency His.pdf
 
Why did we choose to process BMP image files rather than ot.pdf
Why did we choose to process BMP image files rather than ot.pdfWhy did we choose to process BMP image files rather than ot.pdf
Why did we choose to process BMP image files rather than ot.pdf
 
Using the data in the table what is Walmarts NYSE WMT b.pdf
Using the data in the table what is Walmarts NYSE WMT b.pdfUsing the data in the table what is Walmarts NYSE WMT b.pdf
Using the data in the table what is Walmarts NYSE WMT b.pdf
 
void f int x The above code is a c++ function In ter.pdf
void f  int x  The above code is a c++ function In ter.pdfvoid f  int x  The above code is a c++ function In ter.pdf
void f int x The above code is a c++ function In ter.pdf
 
This project is broken up into Windows and Mac versions lis.pdf
This project is broken up into Windows and Mac versions lis.pdfThis project is broken up into Windows and Mac versions lis.pdf
This project is broken up into Windows and Mac versions lis.pdf
 
The as of Ct+11 allows what benefit It can be shared by .pdf
The as of Ct+11  allows what benefit It can be shared by .pdfThe as of Ct+11  allows what benefit It can be shared by .pdf
The as of Ct+11 allows what benefit It can be shared by .pdf
 
Tartma stemi Yantlamak iin aadaki sorulardan birini sein.pdf
Tartma stemi  Yantlamak iin aadaki sorulardan birini sein.pdfTartma stemi  Yantlamak iin aadaki sorulardan birini sein.pdf
Tartma stemi Yantlamak iin aadaki sorulardan birini sein.pdf
 
Supportive leadership is the same as which of the following .pdf
Supportive leadership is the same as which of the following .pdfSupportive leadership is the same as which of the following .pdf
Supportive leadership is the same as which of the following .pdf
 
System Analysis Assignment 4 Due date See LEARN Max Marks.pdf
System Analysis Assignment 4 Due date See LEARN Max Marks.pdfSystem Analysis Assignment 4 Due date See LEARN Max Marks.pdf
System Analysis Assignment 4 Due date See LEARN Max Marks.pdf
 
Sarah tiene 30 aos y es madre de dos nios pequeos de 3 y.pdf
Sarah tiene 30 aos y es madre de dos nios pequeos de 3 y.pdfSarah tiene 30 aos y es madre de dos nios pequeos de 3 y.pdf
Sarah tiene 30 aos y es madre de dos nios pequeos de 3 y.pdf
 
Real GDP per capita in the country of Arcadia grew from abou.pdf
Real GDP per capita in the country of Arcadia grew from abou.pdfReal GDP per capita in the country of Arcadia grew from abou.pdf
Real GDP per capita in the country of Arcadia grew from abou.pdf
 
Rex y Felix son los nicos accionistas de Dogs and Cats Corp.pdf
Rex y Felix son los nicos accionistas de Dogs and Cats Corp.pdfRex y Felix son los nicos accionistas de Dogs and Cats Corp.pdf
Rex y Felix son los nicos accionistas de Dogs and Cats Corp.pdf
 
please use only these Part 1 Organize the code 85 Fo.pdf
please use only these   Part 1 Organize the code 85  Fo.pdfplease use only these   Part 1 Organize the code 85  Fo.pdf
please use only these Part 1 Organize the code 85 Fo.pdf
 
Question 1 Fill in the blanks Compute what is ask begi.pdf
Question 1    Fill in the blanks Compute what is ask begi.pdfQuestion 1    Fill in the blanks Compute what is ask begi.pdf
Question 1 Fill in the blanks Compute what is ask begi.pdf
 
1What is meant by project life cycle and briefly explain th.pdf
1What is meant by project life cycle and briefly explain th.pdf1What is meant by project life cycle and briefly explain th.pdf
1What is meant by project life cycle and briefly explain th.pdf
 
Please complete method popleft in python which calls _remove.pdf
Please complete method popleft in python which calls _remove.pdfPlease complete method popleft in python which calls _remove.pdf
Please complete method popleft in python which calls _remove.pdf
 
Let the sample space be S12345678910 Suppose th.pdf
Let the sample space be S12345678910 Suppose th.pdfLet the sample space be S12345678910 Suppose th.pdf
Let the sample space be S12345678910 Suppose th.pdf
 
Let Y1YniidBernoulli a Use the asymptotic distributi.pdf
Let Y1YniidBernoulli a Use the asymptotic distributi.pdfLet Y1YniidBernoulli a Use the asymptotic distributi.pdf
Let Y1YniidBernoulli a Use the asymptotic distributi.pdf
 
LONG essays 25 points each 1 Explain how the interaction .pdf
LONG essays  25 points each 1 Explain how the interaction .pdfLONG essays  25 points each 1 Explain how the interaction .pdf
LONG essays 25 points each 1 Explain how the interaction .pdf
 
1 In the early 17th century a small puritan population mo.pdf
1 In the early 17th century a small puritan population mo.pdf1 In the early 17th century a small puritan population mo.pdf
1 In the early 17th century a small puritan population mo.pdf
 

Recently uploaded

Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...Denish Jangid
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxricssacare
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resourcesdimpy50
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfYibeltalNibretu
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePedroFerreira53928
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxShajedul Islam Pavel
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345beazzy04
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXMIRIAMSALINAS13
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfTamralipta Mahavidyalaya
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxssuserbdd3e8
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxbennyroshan06
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxDenish Jangid
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
 

Recently uploaded (20)

Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 

142 You and your friends race to the gym after school and .pdf

  • 1. 14#2 You and your friends race to the gym after school, and when you go through the 1-person-at-a- time entrance, the system records who came that day and in what order. You get access to that data, GYM VISITS), as a list of visits. Each visit is a word with the first name initials (e.g., if my name is "Dan", the system would write "D") of the people who got there in the order they got there. For example, on the fourth day, D (Dan) got there first, E (Eduardo) got there second, and nobody else went to the gym. Fortunately, you all have unique first name initials! Here is an example from five days' visits; note that not everyone goes to the gym every day: Select the simplest HOF expression "structure" for each of the following calculations that will process GYM VISITS, i.e., the one that uses the fewest total HOFs. We still might need to fill in more later to compute what we'd like to compute (but note that we're not allowed to use any recursion or repeat/repeat until/for/foreach loops -- the only machinery is the maps and keeps listed). Note that map and keep helpers are just separate reporters with one instance of that particular HOF (map or keep) within them. Below is an example of a keep helper that takes a visit and returns an equivalent visit without F (Francisca), since she moved away.a) The winners when one particular person was there. None of the above b) The list of all the entries sorted alphabetically.c) The number of times one person beat another. 2 from keep items from keep items from map over keep items from None of the above d) The head-to-head matchups between two people, in which everyone but those two people are removed from the gym data. head-to-head between A and B in GYM VISITS map over keep items from map keep helper over map map helper keep items from keep items from map over keep items from None of the above e) All the initials in the visits converted to lowercase.e) All the initials in the visits converted to lowercase. map over map over keep items map keep helper over map map helper over keep items from keep items from map keep items from None of the above f) The winners of each visit.