---
title: "Discussion on \"Unraveling the Mysteries of Sorting Algorithms\" | Hashnode"
description: "Discussion on \"Unraveling the Mysteries of Sorting Algorithms\". 1. Bubble Sort\nDetailed Algorithmic Steps\n\nInitialization:\n\nStart with the array you want to sort. Let’s denote the array as arr and its size as n.\n\n\nOuter Loop:\n\nRun a loop from i = 0 to n-1 (or n-2 if you prefer to avoid one iteration since the las..."
url: "https://hashnode.com/posts/unraveling-the-mysteries-of-sorting-algorithms/66ca1adac4ad90071bd3b231"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Unraveling the Mysteries of Sorting Algorithms](https://nagsblog.hashnode.dev/unraveling-the-mysteries-of-sorting-algorithms?utm_source=hashnode&utm_medium=feed)

1\. Bubble Sort Detailed Algorithmic Steps Initialization: Start with the array you want to sort. Let’s denote the array as arr and its size as n. Outer Loop: Run a loop from i = 0 to n-1 (or n-2 if you prefer to avoid one iteration since the las...

Aug 24, 2024 · 20 min read · nagsblog.hashnode.dev  
Read the article

-   [#sorting-algorithms](https://hashnode.com/tag/sorting-algorithms)

## Written by

[Nagendra simhadri](https://hashnode.com/@nag0912)

@nag0912 · Singapore

  
[View profile](https://hashnode.com/@nag0912)

Nag's Tech Notes

A seasoned professional in financial technology and embedded software, recognized for driving revenue growth and customer satisfaction through innovative projects.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
