Challenge: Event Attendees Merger
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 7
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Can you explain this in simpler terms?
What are the main takeaways from this?
Can you give me a real-world example?
Fantastisk!
Completion rate forbedret til 4.76
Challenge: Event Attendees Merger
Stryg for at vise menuen
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 7
single