diff --git a/pages/editor.html b/pages/editor.html index 64f38f5b..ccbb2daf 100644 --- a/pages/editor.html +++ b/pages/editor.html @@ -1,32 +1,47 @@ + Code Editor Layout - + - + +
@@ -121,31 +168,69 @@
CodeClip
- + +
+ + +
- + -
+

Challenge Description

-

Welcome to the coding challenge! Your task is to implement a function that reverses a given string. Consider edge cases such as empty strings or strings with special characters.

+

Welcome to the coding challenge! Your task is to implement a function that reverses a given string. + Consider edge cases such as empty strings or strings with special characters.

Requirements:

    -
  • The function should accept one argument: a string.
  • -
  • It should return the reversed string.
  • -
  • The solution must be efficient (e.g., O(n) time complexity).
  • +
  • The function should accept one + argument: a string.
  • +
  • It should return the reversed string. +
  • +
  • The solution must be efficient (e.g., + O(n) time complexity).

Example:


@@ -164,7 +249,7 @@ 

Example:

-
+

Code Editor


 function reverseString(str) {
@@ -176,8 +261,133 @@ 

Code Editor

+ +
+ +
@@ -205,7 +415,9 @@

Output / Test Results

- + - + + \ No newline at end of file