Daily Challenge 🗓️

Your daily dose of technical intelligence to shine in (developer) society.

Discover a software development quizz per day with its detailed correction.

Frontend, Backend, Mobile, Data, Web, AI, Infra... Everything that can be coded!

Monday 25 July 2022

-

Algorithmics - Fundamentals

Algorithmics #20/20

A sorting center manager wants to develop a program allowing him to automatically sort waste from 5 possible categories:

Plastic: incinerated

Cardboard & Paper : recycled

Food : composted

Metal : sent to another center

Which instruction is the most relevant to set up for this?

Author: W3D teamStatus : Published(updated)Question answered 147 times
-1
Ratings from developers
07/30/2022
I would prefer use a dictionary/associative array in this case, not a loop or a switch.
Add a comment

About Daily Challenge 🗓️

From Monday to Friday, discover each day a quizz question with its detailed answer to enrich your tech knowledge. The questions are proposed by the WeLoveDevs.com community: experienced developers, trainers and freelancers.WeLoveDevs.com helps developers to find their dream job. We also provide over 50 free technical tests in different technologies for those of you who would like to test your knowledge.

History

⚠️
Your browser is badly|not supported!
We recommend you to use a more modern browser such as Edge, Chrome or Firefox
Know More