CFP last date
20 December 2024
Reseach Article

A Novel Ternary Search Algorithm

by Nitin Arora, Mamta Martolia Arora, Esha Arora
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 144 - Number 11
Year of Publication: 2016
Authors: Nitin Arora, Mamta Martolia Arora, Esha Arora
10.5120/ijca2016910387

Nitin Arora, Mamta Martolia Arora, Esha Arora . A Novel Ternary Search Algorithm. International Journal of Computer Applications. 144, 11 ( Jun 2016), 35-36. DOI=10.5120/ijca2016910387

@article{ 10.5120/ijca2016910387,
author = { Nitin Arora, Mamta Martolia Arora, Esha Arora },
title = { A Novel Ternary Search Algorithm },
journal = { International Journal of Computer Applications },
issue_date = { Jun 2016 },
volume = { 144 },
number = { 11 },
month = { Jun },
year = { 2016 },
issn = { 0975-8887 },
pages = { 35-36 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume144/number11/25226-2016910387/ },
doi = { 10.5120/ijca2016910387 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T23:47:34.706469+05:30
%A Nitin Arora
%A Mamta Martolia Arora
%A Esha Arora
%T A Novel Ternary Search Algorithm
%J International Journal of Computer Applications
%@ 0975-8887
%V 144
%N 11
%P 35-36
%D 2016
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Searching is an algorithm that search a particular element in a given list of elements. Sorting Technique is frequently used in a large variety of important applications to search a particular element. Several Searching Algorithms of different time and space complexity are exist and used. This paper provides a novel searching algorithm Ternary search which is based on dividing the given elements into three parts. We also compare the Ternary search algorithm with Linear Search and Binary Search. MATLAB is used for implementation and Analysis of CPU time taken for all the three searching algorithms used. Linear search can be used with any random array but for binary search and ternary search sorted array is required. Result shows that ternary search algorithm requires less time for search any particular element.

References
  1. Arora, N., Tamta, V., and Kumar S. 2012. A Novel Sorting Algorithm and Comparison with Bubble Sort and Selection Sort. International Journal of Computer Applications. Vol 45. No 1. 31-32
  2. Herbert Schildt Tata McGraw-Hill , “The Complete Reference C fourth Edition”
  3. Alfred V., Aho J., Horroroft, Jeffrey D.U.(2002) Data Structures and Algorithms.
  4. Frank M.C. (2004) Data Abstraction and Problem Solving with C++. US: Pearson Education, Inc
  5. Cormen T.H., Leiserson C.E., Rivest R.L. and Stein C.(2003) Introduction to Algorithms MIT Press, Cambridge, MA, 2nd edition
  6. Seymour Lipschutz (2009) Data Structure with C, Schaum Series, Tata McGraw-Hill Education.
Index Terms

Computer Science
Information Sciences

Keywords

Binary Search Linear Search Algorithm Data Structures