Tracks
/
WebAssembly
WebAssembly
/
Exercises
/
Reverse String
Reverse String

Reverse String

Easy

Instructions

Reverse a string

For example: input: "cool" output: "looc"

Reserved Memory

Bytes 64-319 of the linear memory are reserved for the input string.

The input string can be modified in place if desired.

Last updated 30 November 2022
Edit via GitHub The link opens in a new window or tab
WebAssembly Exercism

Ready to start Reverse String?

Sign up to Exercism to learn and master WebAssembly with 21 exercises, and real human mentoring, all for free.