Advanced
Code Snippets — Python
Practice typing real-world Python code
0WPM
100%Accuracy
1:00Time Left
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]])
Finish the test to unlock
Complete this lesson to unlock your free typing certificate.