Contenido del Curso
Optimization Techniques in Python
Optimization Techniques in Python
1. Understanding and Measuring Performance
3. Enhancing Performance with Built-in Tools
Challenge: Handling Customer Requests
Tarea
Swipe to show code editor
You are tasked with managing a customer support system where customer requests are handled in the order they arrive. However, high-priority requests must be added to the front of the queue. To achieve this:
- Initialize the appropriate data structure to maintain the queue of customer requests.
- If the required data structure needs to be imported, include the appropriate import statement. Otherwise, remove the import line.
- Add regular customer requests to the end of the queue.
- Add high-priority customer requests to the front of the queue.
- Process requests in the order they should be handled (removing from the front).
Solución
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 5
Challenge: Handling Customer Requests
Tarea
Swipe to show code editor
You are tasked with managing a customer support system where customer requests are handled in the order they arrive. However, high-priority requests must be added to the front of the queue. To achieve this:
- Initialize the appropriate data structure to maintain the queue of customer requests.
- If the required data structure needs to be imported, include the appropriate import statement. Otherwise, remove the import line.
- Add regular customer requests to the end of the queue.
- Add high-priority customer requests to the front of the queue.
- Process requests in the order they should be handled (removing from the front).
Solución
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 5
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones