Profi
Code Snippets — Python
Practice typing real-world Python code
0WPM
100%Genauigkeit
1:00Restzeit
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]])
Beende den Test zum Freischalten
Schließe diese Lektion ab, um dein kostenloses Zertifikat freizuschalten.