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

Letni Deszcz
Letni Deszcz

Ballad blues, Male vocals, Large choir.

LOVE IS ELECTRIC (TOMM DROSTE)
LOVE IS ELECTRIC (TOMM DROSTE)

techno. dark. bass sequencer. fast melodies., trance. melancholy.

Darcie Lacerte. La magie de la vie
Darcie Lacerte. La magie de la vie

female voice, emo-pop, piano, electric dance music, electric violin. positive vibe, indie-pop, folk-rock

Movement and Rhythm
Movement and Rhythm

KEY: G Minor, BPM: 105, Choir, Choral, Orchestra, Symphony, Heroic, Atmospheric, Epic, progressive metal

Astral Reveries
Astral Reveries

Synthwave, Sitar, Oriental

気まぐれ
気まぐれ

indie pop. city pop. chill pop

The Crow
The Crow

Clear female vocals,musical

The Exiles
The Exiles

heartfelt, emotional, lullaby, male voice, orchestral,

**เพลง: ความหวังของดวงใจ**
**เพลง: ความหวังของดวงใจ**

lo-fi Japanese city funk. night-loving scene. complex electro swing

Мой меч
Мой меч

Хард, hard rock, guitar, clash of blades, male vocals

I'm not ready to move on
I'm not ready to move on

female vocals, slow, sad, melodic, mellow, dreamy

Mein Schatz Bianca
Mein Schatz Bianca

r&b, rap, soul, funk, bass, male voice,

Issy Meow - Zerbrochen im Stillen
Issy Meow - Zerbrochen im Stillen

80s, Synthwave, Dreamsynth, synthesizer, drumming, ballad, emotional, melodic robo dark voice, melodic synth,

Silver Linings
Silver Linings

orchestral emotional uplifting

Guru Penggerak Gowa (Malino Bergerak) (Verse 1)
Guru Penggerak Gowa (Malino Bergerak) (Verse 1)

Pop, Rock, Electronic, Orchestral, acoustic gitar,drum and bass

ave de cristal
ave de cristal

cumbia argentina

Tonight's Feast Awaits
Tonight's Feast Awaits

female vocalist,male vocalist,show tunes,melodic,nocturnal,playful,humorous

Through the Firestorm
Through the Firestorm

rock, driving rhythm, distorted guitars, powerful drums, epic rock, male vocals

Fratior
Fratior

Oriental ballad reggaeton epic