---
title: "Discussion on \"Day 20: Sorting\" | Hashnode"
description: "Discussion on \"Day 20: Sorting\". The problem below discusses a simple sorting algorithm called Bubble Sort.\nLet's go throw the solution:\n\nCreate a variable totalNumberOfSwaps and make it equal to 0 at the beginning.\nwe create a loop in the range of n (the size of our array).\ninside ..."
url: "https://hashnode.com/posts/day-20-sorting/61d3570398628373c7a0501f"
---

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

Discussion

# [Day 20: Sorting](https://ahmedelsayed.hashnode.dev/day-20-sorting?utm_source=hashnode&utm_medium=feed)

The problem below discusses a simple sorting algorithm called Bubble Sort. Let's go throw the solution: Create a variable totalNumberOfSwaps and make it equal to 0 at the beginning. we create a loop in the range of n (the size of our array). inside ...

Jan 3, 2022 · 1 min read · ahmedelsayed.hashnode.dev  
Read the article

-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)
-   [#sorting](https://hashnode.com/tag/sorting)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)

## Written by

[Ahmed Elsayed](https://hashnode.com/@Ahmede1407)

@Ahmede1407 · Alexandria, Egypt

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

Software Engineer.

Hi, I am a passionate, highly enthusiastic Software Engineer special in Web Development. I have a strong desire for knowledge and challenges and I am actively involved with the latest technology and updates in my field. A fast learner who picks up new skills quickly. I just want to share my little knowledge with you, new tricks I have learned, problems I have solved, new tech, etc...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
