Merge Sort

rap song

June 14th, 2024suno

Lyrics

Sorting algorithms, they are cool, We've already learned one simple rule. Now we have a new contender, This thing is called "merge sort" (the mender). First, you split the array in half, Do the same for the other halves. Repeat until you find yourself, With lengths of one, no more splits left. Merge each half by doing these steps: Have two pointers: a and b, "A and b?" you ask; you'll see. a is the first element of the first half, b is the first of the second half. Find which element is smaller, If a is smaller, don't growl or holler: Put it in something, Called an "auxiliary listing." Auxiliary lists are extra lists, They affect space complexities. Now what you need to do, Is move element a to the list anew. Move a to the right, now time for b: If b's smaller, you'll agree, Do the same as with element a, Put it in the auxiliary array. Move b to the right, repeat the stride, When one ends, the rest slides inside. After that, copy the auxiliary list, Back to the main list; don't resist. Repeat until all halves are done, What you've seen is sorting fun. The list is sorted, now you're free, Next time we'll learn more algorithms, you'll see.

Recommended

A Light in the Crowd
A Light in the Crowd

a song in the style of "the greatest show" with a deep, masculine lead voice and a feminine heart for the chorus. All a

The Beginning
The Beginning

kpop, pop, kdrama

Valor's Resonance
Valor's Resonance

instrumental,brass military,instrumental,epic,flute,film score,triumphant,war,martial,orchestral,melodic

Я буду твоей малышкой
Я буду твоей малышкой

Aggressive dreadnought nu-metal, brutal voice, heavy metal

Midnight Melodies
Midnight Melodies

Emo Rap Trap Hip Hop Alternative Hip Hop R&B SoundCloud Rap

Sunset Dreams
Sunset Dreams

opening, anime, dynamic, epic, guitar, epic orchestral, atmosphere

Rebel Thunder
Rebel Thunder

driving drums bpm 140 energetic rock powerful guitar riffs

Apollo
Apollo

Pop, Classical Music, modern pop rhythm, dynamic feel, Harp

Surge of the Soul
Surge of the Soul

hypnotizing groovy dark edm funk

Pompeii
Pompeii

dark folk, dark folk, blues, male vocal, emotional, melancholic, slow, piano

В Путешествии
В Путешествии

hip-hop энергичный 120 bpm

Ghosts in Space
Ghosts in Space

eerie electronic atmospheric

Delete Before Listening
Delete Before Listening

robot hiphop, heavy bass, futuristic trap, aggressive anthem, amen break, club single, remaster, revolutionary radio hit

Sunshine Dreams
Sunshine Dreams

curious, female singer, pop, slightly upbeat