14 Ways to Reverse a String! (And solve the exercise on Exercism)

Опубликовано: 26 Май 2026
на канале: Exercism
20,014
299

Explore 14 different ways to reverse a string. We look at the built-in functions and methods, dig into Runes and Graphemes, look at Stack vs Heap allocations, and finish with pointers. Kick back and enjoy 45mins of learning with Jeremy and Erik, then go solve the exercise in your favourite way on Exercism.

Solve the exercise at: https://exercism.org/exercises/revers...
Join #48in24 at: https://exercism.org/challenges/48in24

Timestamps:
00:00:00 Introduction
00:00:46 Build in method (on a string) - Kotlin
00:02:06 Build in function (on a list) - Haskell
00:03:36 Split, reverse, rejoin - JQ
00:05:05 Algorithm #1 - Nim
00:07:03 Algorithm #2 - JavaScript
00:09:13 String Builders - Java
00:13:39 Algorithm #3 - Julia
00:14:47 Algorithm #4 (What to put in your Job Interview) - C++
00:17:56 Algorithm #4 (Show off in your Job Interview) - 8th
00:20:51 Algorithm #5 - Zig
00:24:25 Unicode Codepoints (Runes) - Go
00:27:29 Graphemes - Gleam
00:30:20 Stack vs Heap - C#.
00:33:41 C# Benchmarks
00:35:36 Pointers - C
00:41:32 Round up