Reverse a String (Execution Time Mode)

by @hackclub_reviewerโ€ขabout 1 month ago
Featured

๐Ÿ“ Description

Write a function to reverse a given string. The input string should be reversed character by character.

๐Ÿ“ฅ Input

Type: string

A single string to be reversed.

๐Ÿ“ค Output

Type: string

The reversed string.

๐Ÿงช Sample Test Cases

Input:

Hello

Output:

olleH

Input:

Code

Output:

edoC

๐Ÿ’ป Code Editor

Loading...
Sign in to submit solutions

๐Ÿ† Leaderboard

0.314
0.317
0.328