René's URL Explorer Experiment


Title: Selection Sort in Ruby - Runnable Code Snippet

Open Graph Title: Selection Sort in Ruby - Runnable Code Snippet

X Title: Selection Sort in Ruby - Runnable Code Snippet

Description: Sort an array using the selection sort algorithm by repeatedly finding the minimum element. Runnable Ruby snippet with live execution.

Open Graph Description: Sort an array using the selection sort algorithm by repeatedly finding the minimum element. Runnable Ruby snippet with live execution.

X Description: Sort an array using the selection sort algorithm by repeatedly finding the minimum element. Runnable Ruby snippet with live execution.

Keywords:

Opengraph URL: https://tempercode.dev/snippets/selection-sort-ruby

direct link

Domain: tempercode.dev


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"SoftwareSourceCode","name":"Selection Sort","description":"Sort an array using the selection sort algorithm by repeatedly finding the minimum element.","programmingLanguage":"Ruby","text":"a = arr.dup\n(0...a.length).each do |i|\n  min_idx = i\n  ((i + 1)...a.length).each do |j|\n    min_idx = j if a[j] < a[min_idx]\n  end\n  a[i], a[min_idx] = a[min_idx], a[i]\nend\na"}

theme-color#0c0d12
color-schemedark
authorTemper
creatorTemper
publisherTemper
og:imagehttps://tempercode.dev/og-image.png
og:typearticle
twitter:cardsummary_large_image
twitter:imagehttps://tempercode.dev/og-image.png

Links:

Temperhttps://tempercode.dev/snippets
Snippetshttps://tempercode.dev/snippets
Editorhttps://tempercode.dev/editor
CLIhttps://tempercode.dev/cli
https://github.com/handcraftbyte/temper-snippets
Snippetshttps://tempercode.dev/snippets
Editorhttps://tempercode.dev/editor
CLIhttps://tempercode.dev/cli
https://github.com/handcraftbyte/temper-snippets/blob/main/algorithms/selection-sort-ruby.md
JavaScripthttps://tempercode.dev/snippets/selection-sort-javascript
Pythonhttps://tempercode.dev/snippets/selection-sort-python
PHPhttps://tempercode.dev/snippets/selection-sort-php
Bashhttps://tempercode.dev/snippets/selection-sort-bash
Bubble SortSort an array using the bubble sort algorithm by repeatedly swapping adjacent elements.https://tempercode.dev/snippets/bubble-sort-ruby
Counting SortSort an array of non-negative integers using counting sort for linear time performance.https://tempercode.dev/snippets/counting-sort-ruby
Heap SortSort an array using the heap sort algorithm with O(n log n) time complexity.https://tempercode.dev/snippets/heap-sort-ruby
Insertion SortSort an array using the insertion sort algorithm by building a sorted portion one element at a time.https://tempercode.dev/snippets/insertion-sort-ruby
Merge SortSort an array using the merge sort algorithm with O(n log n) time complexity.https://tempercode.dev/snippets/merge-sort-ruby
QuicksortSort an array using the quicksort algorithm with average O(n log n) time complexity.https://tempercode.dev/snippets/quicksort-ruby

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.