Comparison of Prim and Kruskal’s Algorithm

Rohit Maurya
Rohit Maurya
Rahul Sharma
Rahul Sharma
Ajeenkya DY Patil University

Send Message

To: Author

Comparison of Prim and Kruskal’s Algorithm

Article Fingerprint

ReserarchID

CSTSDE11821

Comparison of Prim and Kruskal’s Algorithm Banner

AI TAKEAWAY

Connecting with the Eternal Ground
  • English
  • Afrikaans
  • Albanian
  • Amharic
  • Arabic
  • Armenian
  • Azerbaijani
  • Basque
  • Belarusian
  • Bengali
  • Bosnian
  • Bulgarian
  • Catalan
  • Cebuano
  • Chichewa
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Corsican
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Esperanto
  • Estonian
  • Filipino
  • Finnish
  • French
  • Frisian
  • Galician
  • Georgian
  • German
  • Greek
  • Gujarati
  • Haitian Creole
  • Hausa
  • Hawaiian
  • Hebrew
  • Hindi
  • Hmong
  • Hungarian
  • Icelandic
  • Igbo
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Javanese
  • Kannada
  • Kazakh
  • Khmer
  • Korean
  • Kurdish (Kurmanji)
  • Kyrgyz
  • Lao
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malagasy
  • Malay
  • Malayalam
  • Maltese
  • Maori
  • Marathi
  • Mongolian
  • Myanmar (Burmese)
  • Nepali
  • Norwegian
  • Pashto
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Samoan
  • Scots Gaelic
  • Serbian
  • Sesotho
  • Shona
  • Sindhi
  • Sinhala
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Sundanese
  • Swahili
  • Swedish
  • Tajik
  • Tamil
  • Telugu
  • Thai
  • Turkish
  • Ukrainian
  • Urdu
  • Uzbek
  • Vietnamese
  • Welsh
  • Xhosa
  • Yiddish
  • Yoruba
  • Zulu
Font Type
Font Size
Font Size
Bedground

Abstract

The goal of this research is to compare the performance of the common Prim and the Kruskal of the minimum spanning tree in building up super metric space. We suggested using complexity analysis and experimental methods to evaluate these two methods. After analysing daily sample data from the Shanghai and Shenzhen 300 indexes from the second half of 2005 to the second half of 2007, the results revealed that when the number of shares is less than 100, the Kruskal algorithm is relatively superior to the Prim algorithm in terms of space complexity; however, when the number of shares is greater than 100, the Prim algorithm is more superior in terms of time complexity. A spanning tree is defined in the glossary as a connected graph with non-negative weights on its edges, and the challenge is to identify a maz weight spanning tree. Surprisingly, the greedy algorithm yields an answer. For the problem of finding a min weight spanning tree, we propose greedy algorithms based on Prim and Kruskal, respectively. Graham and Hell provide a history of the issue, which began with Czekanowski’s work in 1909. The information presented here is based on Rosen.

Generating HTML Viewer...

References

12 Cites in Article
  1. Bruce Hughes (2004). Trees and ultrametric spaces: a categorical equivalence.
  2. Michael Naylor,Lawrence Rose,Brendan Moyle (2007). Topology of foreign exchange markets using hierarchical structure methods.
  3. J Brida,W Risso (2008). Multidimensional minimal spanning tree: The Dow Jones case.
  4. Chip Martel (2002). The expected complexity of Prim's minimum spanning tree algorithm.
  5. Yang Guo,Hui Zhou,Chun Guang (2003). An algorithm for clustering gene expression data using minimum spanning tree [J].
  6. Feixue Huang (2009). Comparison of Prim and Kruskal on Shanghai and Shenzhen 300 Index hierarchical structure tree.
  7. Michael Laszlo,Sumitra Mukherjee,Member (2005). Minimum Spanning Tree Partitioning Algorithm for Micro aggregation.
  8. Peace Ayegba,Joyce Ayoola,Emmanuel Asani,Aderemi Okeyinka (2020). A Comparative Study Of Minimal Spanning Tree Algorithms.
  9. Jogamohan Medak (2018). Minimum Spanning Tree Determination Program Using Kruskal Algorithm on Visual Basic 6.0.
  10. Kenneth Sorensen (2005). An Algorithm to Generate all Spanning Trees of a Graph in Order of Increasing Cost.
  11. O Arogundade (2011). Prim Algorithm to Improving Local Access Network in Rural Areas.
  12. J Harvey,Greenberg (1998). Greedy Algorithm for Minimum Spanning Tree.

Funding

No external funding was declared for this work.

Conflict of Interest

The authors declare no conflict of interest.

Ethical Approval

No ethics committee approval was required for this article type.

Data Availability

Not applicable for this article.

How to Cite This Article

Rohit Maurya. 2026. \u201cComparison of Prim and Kruskal’s Algorithm\u201d. Global Journal of Computer Science and Technology - C: Software & Data Engineering GJCST-C Volume 23 (GJCST Volume 23 Issue C1).

Download Citation

Comparison of Primal Kruskal's Algorithm for optimal graph spanning.
Journal Specifications

Crossref Journal DOI 10.17406/gjcst

Print ISSN 0975-4350

e-ISSN 0975-4172

Keywords
Classification
GJCST-C Classification FOR Code: 080201
Version of record

v1.2

Issue date
May 20, 2023

Language
en
Experiance in AR

Explore published articles in an immersive Augmented Reality environment. Our platform converts research papers into interactive 3D books, allowing readers to view and interact with content using AR and VR compatible devices.

Read in 3D

Your published article is automatically converted into a realistic 3D book. Flip through pages and read research papers in a more engaging and interactive format.

Article Matrices
Total Views: 2344
Total Downloads: 40
2026 Trends
Related Research
Our website is actively being updated, and changes may occur frequently. Please clear your browser cache if needed. For feedback or error reporting, please email [email protected]

Request Access

Please fill out the form below to request access to this research paper. Your request will be reviewed by the editorial or author team.
X

Quote and Order Details

Contact Person

Invoice Address

Notes or Comments

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

High-quality academic research articles on global topics and journals.

Comparison of Prim and Kruskal’s Algorithm

Rohit Maurya
Rohit Maurya <p>Ajeenkya DY Patil University</p>
Rahul Sharma
Rahul Sharma

Research Journals