Hi,

Can anyone give me an efficient algorithm for adding an element into a sorted matrix of linked list such that the size of the columns remains constant.

Thank-you,

Sri

Featured Replies

- 2
This is a variety of an insertion sort - inserting an element in the proper location of a sorted list so that the list / array remains sorted. I developed code for this 20 years ago (in C/C++). I used a modified combination of bsearch and qsort. It would search … Read More

This topic has been dead for over six months. Start a new discussion instead.

Recommended Topics