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

bookChallenge: Grocery List Organizer

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 5
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

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

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 5
single

single

some-alt