Challenge: Event Attendees Merger
Oppgave
Swipe to start coding
Merge attendee lists from two separate events into a single set, ensuring that each attendee appears only once in the result.
- Add all attendees from the first list to a set.
- Add all attendees from the second list to the same set.
- Return the set containing all unique attendees.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 7
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 4.76
Challenge: Event Attendees Merger
Sveip for å vise menyen
Oppgave
Swipe to start coding
Merge attendee lists from two separate events into a single set, ensuring that each attendee appears only once in the result.
- Add all attendees from the first list to a set.
- Add all attendees from the second list to the same set.
- Return the set containing all unique attendees.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 7
single