The objective of this experiment is to demonstrate that merging two sorted lists results in another sorted list containing all the elements from the two given lists.
You are provided with two sorted arrays "left" and "right" and your goal is to merge these two arrays to form the "merged" array using the "NEXT" button.
The "NEXT" button replaces the "Left" and "Right" buttons seen in the Merge Strategy experiment. The next button decides the element to be inserted in the "merged" array next.
At any point during the experiment, the arrays can be one of the two states: sorted or unsorted. The sorted arrays will be shown in green color whereas the unsorted arrays will be shown in red color.