This animation visualizes merge sort by showing an unsorted array repeatedly split into smaller halves until each piece holds a single element, then merged back together in sorted order. Color-coded bars highlight comparisons during each merge step, making the divide-and-conquer strategy and the O(n log n) structure visible. Useful for students learning algorithm design and teachers introducing recursion, sorting efficiency, and comparisons with simpler sorts like bubble sort.
16:9 · every frame verified for overlaps, spacing and edges before rendering
Please show how merge sort works please