mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-10 13:55:29 +00:00
[PR #1403] [CLOSED] feat: Add Move-To-Front Linear Search implementation #2001
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1403
Author: @kiranj26
Created: 6/30/2024
Status: ❌ Closed
Base:
master← Head:move-to-front-linear-search📝 Commits (3)
3d66262feat: add stable selection sort algorithmcc1cb0bfeat: Add Move-To-Front Linear Search implementationd3471f5Delete sorting/stable_selection_sort.c📊 Changes
1 file changed (+108 additions, -0 deletions)
View changed files
➕
searching/move_to_front_linear_search.c(+108 -0)📄 Description
Description of Change
This pull request adds an implementation of the Move-To-Front Linear Search algorithm. The algorithm searches for an element in an array and, if found, moves it to the front of the array to speed up future searches.
References
Checklist
Notes: Added an efficient and useful variant of the linear search algorithm to the repository.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.