Avanzado
Code Snippets — Python
Practice typing real-world Python code
0PPM
100%Precisión
1:00Tiempo restante
class Node: def __init__(self, value): self.value = value; self.next = None
from typing import List
def quicksort(arr: List[int]) -> List[int]: return arr if len(arr) <= 1 else quicksort([x for x in arr[1:] if x < arr[0]]) + [arr[0]] + quicksort([x for x in arr[1:] if x >= arr[0]])
Termina la prueba para desbloquear
Completa esta lección para desbloquear tu certificado gratuito.