Perbandingan Kecepatan Pencarian Antara Binary Search Tree dan Array

  • Zidan Firdaus Tirta Program Studi Teknik Informatika, Universitas Islam Negeri Maulana Malik Ibrahim Malang
Keywords: Binary Search Tree, Array, Search Speed, Java, Programming

Abstract

This study compares the search speed between Binary Search Tree (BST) and Array in various scenarios. Through a series of experiments using the Java programming language, we analyze their performance in ordered, random, and reverse data situations. The results show that in the case of sorted data, Array has an advantage in searching. However, on random data, BST provides faster and more stable search results. For reversed data, Array is also superior in terms of search speed. The resulting recommendation is to use BST for searching in complex random data, while Array is more suitable for sorted or reversed data. Understanding these comparisons can help developers choose data structures that match application needs and optimize search performance.

Downloads

Download data is not yet available.

References

Holle, K. F. H., M.Kom. (2022). Modul Praktikum Struktur Data. Universitas Islam Negeri Maulana Malik Ibrahim Malang.

Pribadi, A., Kurniawan, F., Hariadi, M., & Nugroho, S. M. S. (2017). Urban Distribution CCTV for Smart City Using Decision Tree Methods. In Proceedings of the 2017 International Seminar on Intelligent Technology and Its Application (pp. 21-24). Institut Teknologi Sepuluh Nopember (ITS) Surabaya.

Prayoga Permana, A., Ainiyah, K., & Holle, K. F. H. (2021). Analisis Perbandingan Algoritma Decision Tree, kNN, dan Naive Bayes untuk Prediksi Kesuksesan Start-up. Jurnal Ilmu Sistem dan Komputer Asia (JISKa), 6(3), 178-188. ISSN: 2527-5836 (print) | 2528-0074 (online).

PlumX Metrics

Published
2023-12-27
How to Cite
Tirta, Z. F. (2023). Perbandingan Kecepatan Pencarian Antara Binary Search Tree dan Array. Maliki Interdisciplinary Journal, 1(4). Retrieved from http://urj.uin-malang.ac.id/index.php/mij/article/view/5098
Section
Articles