Searching A Node In Linked List Using Divide And Conquer Approach

Authors

  • Puneet Mathur  Department of Computer Engineering, Poornima Inst. of Engg. & Technology, Jaipur, India
  • Rahul Gupta  Department of Computer Engineering, Poornima Inst. of Engg. & Technology, Jaipur, India
  • Pranav Pandey  Department of Computer Engineering, Poornima Inst. of Engg. & Technology, Jaipur, India

Keywords:

Divide and conquer, Binary Search, middle element, single Step pointer, double Step pointer

Abstract

The general idea of this paper is to implement binary search algorithm based on divide and conquer approach on the linked list. To implement the binary search algorithm the nodes of the linked list must be sorted in any order. In case of arrays it is very easy to find out the middle element because of the static and contiguous arrangement of its elements but because of the dynamic nature and random allocation of the nodes it is time consuming task to find out the middle node in sorted linked list. In this paper we have implemented two distinct pointers named, single Step pointer and double Step pointer to find out the middle node.

References

  1. http://en.wikipedia.org/wiki/Binary_search_algorithm
  2. http://www.getappninja.com/blog/implementing- a-binary-search-in-ios

Downloads

Published

2018-03-25

Issue

Section

Research Articles

How to Cite

[1]
Puneet Mathur, Rahul Gupta, Pranav Pandey, " Searching A Node In Linked List Using Divide And Conquer Approach, International Journal of Scientific Research in Science and Technology(IJSRST), Online ISSN : 2395-602X, Print ISSN : 2395-6011, Volume 4, Issue 6, pp.57-58, March-April-2018.