Skip to content
/ Search Public

Native C implementations of popular search algorithms

Notifications You must be signed in to change notification settings

deanone/Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains native C implementations of popular search algorithms, namely:

  1. Linear search (https://en.wikipedia.org/wiki/Linear_search)
  2. Binary search (https://en.wikipedia.org/wiki/Binary_search_algorithm)
  3. Jump search (https://en.wikipedia.org/wiki/Jump_search)
  4. Interpolation search (https://en.wikipedia.org/wiki/Interpolation_search)
  5. Exponential search (https://en.wikipedia.org/wiki/Exponential_search)
  6. Fibonacci search (https://en.wikipedia.org/wiki/Fibonacci_search_technique)

Compile:

./compile.sh

Run:

./search.out [id of search algorithm] [number of values of array in which key is searched] [value to search for]

About

Native C implementations of popular search algorithms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published