Performance Comparison between Tree Data Structure and Linked List Data Structure in Managing Employee Information for Human Resources

Authors

  • Phadungkiat Sutayo Computer Science, Faculty of Science, Maejo University
  • Part Pramokchon Computer Science, Faculty of Science, Maejo University
  • Somnuek Sinthupuan Computer Science, Faculty of Science, Maejo University
  • Kongkarn Dullayachai Computer Science, Faculty of Science, Maejo University

Keywords:

Tree data structure, linked list, Hierarchy

Abstract

This article presents a performance comparison between tree data structures and linked list data structures for managing human resources data with hierarchical relationships, including employee information such as ID, full name, position, department, and event records. The study aims to compare the speed of insertion, deletion, and searching for each structure, tested with datasets of 100, 1,000, and 10,000 records, each tested three times. The results show that the tree structure outperforms the linked list in data insertion, particularly with the 10,000-record dataset, achieving an insertion rate of 3.785 records per second and an average time of 264.28 milliseconds. In contrast, the linked list achieves only 0.107 records per second and an average time of 9,345.85 milliseconds. For searching and deleting data, both structures perform similarly. In conclusion, the tree structure is better suited for systems handling hierarchical data, as it can insert data quickly and handle larger datasets more efficiently, while the linked list may be more suitable for tasks with smaller datasets or without complex hierarchical relationships

Downloads

Published

2025-08-30

How to Cite

1.
Performance Comparison between Tree Data Structure and Linked List Data Structure in Managing Employee Information for Human Resources. MITIJ [Internet]. 2025 Aug. 30 [cited 2026 Aug. 17];11(2). Available from: https://ojs.mju.ac.th/ojs-system/article/view/418

Most read articles by the same author(s)

<< < 1 2