Skip to content

Find sorted insertion position - #97

Merged
samsinsane merged 1 commit into
masterfrom
binary_insert_pos
Mar 7, 2026
Merged

samsinsane merged 1 commit into
masterfrom
binary_insert_pos

Conversation

@TurkeyMan

Copy link
Copy Markdown
Member

Tweak binary_search with option to return the insert_pos for an item in a sorted list.
This is useful for insertion sort.

@samsinsane
samsinsane merged commit bc713dc into master Mar 7, 2026
9 checks passed
@samsinsane
samsinsane deleted the binary_insert_pos branch March 7, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants