Optimizing Search Strategies: A Study of Two-Pointer Linear Search Implementation
Nazma Akter Zinnia, Eisuke Hanada

TL;DR
This paper compares three fundamental search algorithms, introduces a novel Two Pointer Search implementation, and demonstrates its improved efficiency across different datasets and hardware configurations.
Contribution
It proposes a new Two Pointer Search algorithm that balances simplicity and efficiency, validated through extensive testing.
Findings
Two Pointer Search outperforms traditional methods in various scenarios.
The new implementation significantly reduces search time on diverse datasets.
The algorithm is adaptable to both sorted and unsorted data.
Abstract
This report investigates three fundamental search algorithms: Linear Search, Binary Search, and Two Pointer Search. Linear Search checks each element sequentially, Binary Search divides the search space in half, and Two Pointer Search uses two pointers to scan from both ends of a sorted list. We compare these algorithms in terms of time complexity, space complexity, and practical performance. Our findings demonstrate that while Linear Search is straightforward, it is inefficient for large datasets. Binary Search is efficient for sorted data but requires an initial sorting step. The Two Pointer Search, combining elements of both methods, offers a practical balance of simplicity and efficiency. We propose a novel implementation of the Two Pointer Search algorithm and validate its performance through comprehensive testing on various hardware configurations. The results indicate that our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTechnology Adoption and User Behaviour
