2459. Sort Array by Moving Items to Empty Space
Sort a permutation by swapping elements only with the empty space (0). Visualize cycle breaks and greedy placement.
Hard
Greedy
Array
Explore Visualizer
96. Unique Binary Search Trees
Generate and animate all structurally unique Binary Search Trees for N nodes using Catalan number computations.
Medium
DP
Trees
Explore Visualizer