Skip to content

Opening book details…

About this document

Inserting Key into Sorted Array by reshmap is a document available to read on EtoBox.

The document describes an algorithm to insert a card into a sorted array of cards. It involves finding the correct position Pos to insert the new card by comparing it to each existing card. The positions of cards after Pos are shifted over by one to make space for the new card at position Pos. The algorithm loops through the array, compares the new card key to each existing card, finds the correct Pos, shifts cards over, and inserts the new card at Pos.

Author
reshmap
Language
EN