Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Grocery List Organizer | Working with Lists and Arrays
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C# Lists & Collections

bookChallenge: Grocery List Organizer

Aufgabe

Swipe to start coding

Practice your skills with lists by building a program that organizes a grocery list. You will write a function that takes an initial list of grocery items, adds new items, removes specified items, sorts the list, and returns the final sorted list.

  • Add all items from the itemsToAdd list to the grocery list.
  • Remove all items from the itemsToRemove list from the grocery list.
  • Sort the grocery list in ascending order.
  • Return the sorted grocery list.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 5
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Grocery List Organizer

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Practice your skills with lists by building a program that organizes a grocery list. You will write a function that takes an initial list of grocery items, adds new items, removes specified items, sorts the list, and returns the final sorted list.

  • Add all items from the itemsToAdd list to the grocery list.
  • Remove all items from the itemsToRemove list from the grocery list.
  • Sort the grocery list in ascending order.
  • Return the sorted grocery list.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 5
single

single

some-alt