New user? Sign up

Existing user? Log in

Bubble-sort with Hungarian ("Csángó") folk dance

(click for video)

I thought this was cute and amusing. Perhaps informative as well.

Note by Dan Krol 4 years, 5 months ago

Easy Math Editor

*italics*

_italics_

**bold**

__bold__

- bulleted- list

1. numbered2. list

paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)

> This is a quote

This is a quote

# I indented these lines # 4 spaces, and now they show # up as a code block. print "hello world"

2 \times 3

2^{34}

a_{i-1}

\frac{2}{3}

\sqrt{2}

\sum_{i=1}^3

\sin \theta

\boxed{123}

Sort by:

I have been alerted to the fact that other sorts have also been similarly demonstrated. Here's quicksort:

Quick-sort with Hungarian (Küküllőmenti legényes) folk dance

Ironically the quicksort takes longer than the bubble sort.

Log in to reply

I think it was all that time picking up hats. There must be some kind of hat optimization possible.

I watched this video a few days back...really nice....

very informative.

Problem Loading...

Note Loading...

Set Loading...

Easy Math Editor

`*italics*`

or`_italics_`

italics`**bold**`

or`__bold__`

boldNote: you must add a full line of space before and after lists for them to show up correctlyparagraph 1

paragraph 2

`[example link](https://brilliant.org)`

`> This is a quote`

Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.`2 \times 3`

`2^{34}`

`a_{i-1}`

`\frac{2}{3}`

`\sqrt{2}`

`\sum_{i=1}^3`

`\sin \theta`

`\boxed{123}`

## Comments

Sort by:

TopNewestI have been alerted to the fact that other sorts have also been similarly demonstrated. Here's quicksort:

Quick-sort with Hungarian (Küküllőmenti legényes) folk dance

Ironically the quicksort takes longer than the bubble sort.

Log in to reply

I think it was all that time picking up hats. There must be some kind of hat optimization possible.

Log in to reply

I watched this video a few days back...really nice....

Log in to reply

very informative.

Log in to reply