id int64 1 2.26k | language stringclasses 7
values | category stringclasses 3
values | difficulty stringclasses 2
values | task_description stringclasses 132
values | code stringlengths 68 753 | explanation stringclasses 449
values |
|---|---|---|---|---|---|---|
1,501 | Python | String Manipulation | beginner | Perform 'reverse' on the string "rotor". | def apply_reverse(s):
return s[::-1]
print(apply_reverse('rotor')) | Reverse operation, function named 'apply_reverse'. |
1,502 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "racecar". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
console.log(apply_reverse("racecar")); | Reverse operation, function named 'apply_reverse'. |
1,503 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "racecar". | function handle_reverse(s) {
return s.split("").reverse().join("");
}
console.log(handle_reverse("racecar")); | Reverse operation, function named 'handle_reverse'. |
1,504 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "hello world". | function process_reverse(s) {
return s.split("").reverse().join("");
}
console.log(process_reverse("hello world")); | Reverse operation, function named 'process_reverse'. |
1,505 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "hello world". | function run_reverse(s) {
return s.split("").reverse().join("");
}
console.log(run_reverse("hello world")); | Reverse operation, function named 'run_reverse'. |
1,506 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "A man a plan a canal Panama". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
console.log(apply_reverse("A man a plan a canal Panama")); | Reverse operation, function named 'apply_reverse'. |
1,507 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "Rust is fun". | function process_reverse(s) {
return s.split("").reverse().join("");
}
console.log(process_reverse("Rust is fun")); | Reverse operation, function named 'process_reverse'. |
1,508 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "level". | function run_reverse(s) {
return s.split("").reverse().join("");
}
console.log(run_reverse("level")); | Reverse operation, function named 'run_reverse'. |
1,509 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "level". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("level")); | Reverse operation, function named 'perform_reverse'. |
1,510 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "OpenAI Claude". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("OpenAI Claude")); | Reverse operation, function named 'perform_reverse'. |
1,511 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "OpenAI Claude". | function process_reverse(s) {
return s.split("").reverse().join("");
}
console.log(process_reverse("OpenAI Claude")); | Reverse operation, function named 'process_reverse'. |
1,512 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "was it a car or a cat i saw". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(compute_reverse("was it a car or a cat i saw")); | Reverse operation, function named 'compute_reverse'. |
1,513 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "was it a car or a cat i saw". | function process_reverse(s) {
return s.split("").reverse().join("");
}
console.log(process_reverse("was it a car or a cat i saw")); | Reverse operation, function named 'process_reverse'. |
1,514 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "noon". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
console.log(apply_reverse("noon")); | Reverse operation, function named 'apply_reverse'. |
1,515 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "noon". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(execute_reverse("noon")); | Reverse operation, function named 'execute_reverse'. |
1,516 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "data science". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(compute_reverse("data science")); | Reverse operation, function named 'compute_reverse'. |
1,517 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "data science". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
console.log(apply_reverse("data science")); | Reverse operation, function named 'apply_reverse'. |
1,518 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "step on no pets". | function handle_reverse(s) {
return s.split("").reverse().join("");
}
console.log(handle_reverse("step on no pets")); | Reverse operation, function named 'handle_reverse'. |
1,519 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "step on no pets". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("step on no pets")); | Reverse operation, function named 'perform_reverse'. |
1,520 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "coding". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(execute_reverse("coding")); | Reverse operation, function named 'execute_reverse'. |
1,521 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "coding". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("coding")); | Reverse operation, function named 'perform_reverse'. |
1,522 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "madam im adam". | function process_reverse(s) {
return s.split("").reverse().join("");
}
console.log(process_reverse("madam im adam")); | Reverse operation, function named 'process_reverse'. |
1,523 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "madam im adam". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(compute_reverse("madam im adam")); | Reverse operation, function named 'compute_reverse'. |
1,524 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "kayak". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
console.log(apply_reverse("kayak")); | Reverse operation, function named 'apply_reverse'. |
1,525 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "kayak". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("kayak")); | Reverse operation, function named 'perform_reverse'. |
1,526 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "the quick brown fox". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
console.log(apply_reverse("the quick brown fox")); | Reverse operation, function named 'apply_reverse'. |
1,527 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "the quick brown fox". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(compute_reverse("the quick brown fox")); | Reverse operation, function named 'compute_reverse'. |
1,528 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "civic". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("civic")); | Reverse operation, function named 'perform_reverse'. |
1,529 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "civic". | function handle_reverse(s) {
return s.split("").reverse().join("");
}
console.log(handle_reverse("civic")); | Reverse operation, function named 'handle_reverse'. |
1,530 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "never odd or even". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(execute_reverse("never odd or even")); | Reverse operation, function named 'execute_reverse'. |
1,531 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "never odd or even". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("never odd or even")); | Reverse operation, function named 'perform_reverse'. |
1,532 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "python programming". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(compute_reverse("python programming")); | Reverse operation, function named 'compute_reverse'. |
1,533 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "python programming". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
console.log(execute_reverse("python programming")); | Reverse operation, function named 'execute_reverse'. |
1,534 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "deified". | function process_reverse(s) {
return s.split("").reverse().join("");
}
console.log(process_reverse("deified")); | Reverse operation, function named 'process_reverse'. |
1,535 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "deified". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("deified")); | Reverse operation, function named 'perform_reverse'. |
1,536 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "algorithms and data structures". | function run_reverse(s) {
return s.split("").reverse().join("");
}
console.log(run_reverse("algorithms and data structures")); | Reverse operation, function named 'run_reverse'. |
1,537 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "rotor". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
console.log(apply_reverse("rotor")); | Reverse operation, function named 'apply_reverse'. |
1,538 | JavaScript | String Manipulation | beginner | Perform 'reverse' on the string "rotor". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
console.log(perform_reverse("rotor")); | Reverse operation, function named 'perform_reverse'. |
1,539 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "racecar". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { perform_reverse };
console.log(perform_reverse("racecar")); | Reverse operation, function named 'perform_reverse'. |
1,540 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "racecar". | function process_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { process_reverse };
console.log(process_reverse("racecar")); | Reverse operation, function named 'process_reverse'. |
1,541 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "hello world". | function process_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { process_reverse };
console.log(process_reverse("hello world")); | Reverse operation, function named 'process_reverse'. |
1,542 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "hello world". | function handle_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { handle_reverse };
console.log(handle_reverse("hello world")); | Reverse operation, function named 'handle_reverse'. |
1,543 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "A man a plan a canal Panama". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { apply_reverse };
console.log(apply_reverse("A man a plan a canal Panama")); | Reverse operation, function named 'apply_reverse'. |
1,544 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "Rust is fun". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { execute_reverse };
console.log(execute_reverse("Rust is fun")); | Reverse operation, function named 'execute_reverse'. |
1,545 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "Rust is fun". | function handle_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { handle_reverse };
console.log(handle_reverse("Rust is fun")); | Reverse operation, function named 'handle_reverse'. |
1,546 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "level". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { perform_reverse };
console.log(perform_reverse("level")); | Reverse operation, function named 'perform_reverse'. |
1,547 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "level". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { compute_reverse };
console.log(compute_reverse("level")); | Reverse operation, function named 'compute_reverse'. |
1,548 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "OpenAI Claude". | function process_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { process_reverse };
console.log(process_reverse("OpenAI Claude")); | Reverse operation, function named 'process_reverse'. |
1,549 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "OpenAI Claude". | function handle_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { handle_reverse };
console.log(handle_reverse("OpenAI Claude")); | Reverse operation, function named 'handle_reverse'. |
1,550 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "was it a car or a cat i saw". | function run_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { run_reverse };
console.log(run_reverse("was it a car or a cat i saw")); | Reverse operation, function named 'run_reverse'. |
1,551 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "was it a car or a cat i saw". | function process_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { process_reverse };
console.log(process_reverse("was it a car or a cat i saw")); | Reverse operation, function named 'process_reverse'. |
1,552 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "noon". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { compute_reverse };
console.log(compute_reverse("noon")); | Reverse operation, function named 'compute_reverse'. |
1,553 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "noon". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { execute_reverse };
console.log(execute_reverse("noon")); | Reverse operation, function named 'execute_reverse'. |
1,554 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "data science". | function handle_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { handle_reverse };
console.log(handle_reverse("data science")); | Reverse operation, function named 'handle_reverse'. |
1,555 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "data science". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { perform_reverse };
console.log(perform_reverse("data science")); | Reverse operation, function named 'perform_reverse'. |
1,556 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "step on no pets". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { execute_reverse };
console.log(execute_reverse("step on no pets")); | Reverse operation, function named 'execute_reverse'. |
1,557 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "step on no pets". | function run_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { run_reverse };
console.log(run_reverse("step on no pets")); | Reverse operation, function named 'run_reverse'. |
1,558 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "coding". | function handle_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { handle_reverse };
console.log(handle_reverse("coding")); | Reverse operation, function named 'handle_reverse'. |
1,559 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "coding". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { perform_reverse };
console.log(perform_reverse("coding")); | Reverse operation, function named 'perform_reverse'. |
1,560 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "madam im adam". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { perform_reverse };
console.log(perform_reverse("madam im adam")); | Reverse operation, function named 'perform_reverse'. |
1,561 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "madam im adam". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { apply_reverse };
console.log(apply_reverse("madam im adam")); | Reverse operation, function named 'apply_reverse'. |
1,562 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "kayak". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { apply_reverse };
console.log(apply_reverse("kayak")); | Reverse operation, function named 'apply_reverse'. |
1,563 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "kayak". | function process_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { process_reverse };
console.log(process_reverse("kayak")); | Reverse operation, function named 'process_reverse'. |
1,564 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "the quick brown fox". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { compute_reverse };
console.log(compute_reverse("the quick brown fox")); | Reverse operation, function named 'compute_reverse'. |
1,565 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "civic". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { execute_reverse };
console.log(execute_reverse("civic")); | Reverse operation, function named 'execute_reverse'. |
1,566 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "civic". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { compute_reverse };
console.log(compute_reverse("civic")); | Reverse operation, function named 'compute_reverse'. |
1,567 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "never odd or even". | function process_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { process_reverse };
console.log(process_reverse("never odd or even")); | Reverse operation, function named 'process_reverse'. |
1,568 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "never odd or even". | function compute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { compute_reverse };
console.log(compute_reverse("never odd or even")); | Reverse operation, function named 'compute_reverse'. |
1,569 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "python programming". | function run_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { run_reverse };
console.log(run_reverse("python programming")); | Reverse operation, function named 'run_reverse'. |
1,570 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "python programming". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { execute_reverse };
console.log(execute_reverse("python programming")); | Reverse operation, function named 'execute_reverse'. |
1,571 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "deified". | function apply_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { apply_reverse };
console.log(apply_reverse("deified")); | Reverse operation, function named 'apply_reverse'. |
1,572 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "deified". | function perform_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { perform_reverse };
console.log(perform_reverse("deified")); | Reverse operation, function named 'perform_reverse'. |
1,573 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "algorithms and data structures". | function process_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { process_reverse };
console.log(process_reverse("algorithms and data structures")); | Reverse operation, function named 'process_reverse'. |
1,574 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "algorithms and data structures". | function execute_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { execute_reverse };
console.log(execute_reverse("algorithms and data structures")); | Reverse operation, function named 'execute_reverse'. |
1,575 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "rotor". | function run_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { run_reverse };
console.log(run_reverse("rotor")); | Reverse operation, function named 'run_reverse'. |
1,576 | Node.js | String Manipulation | beginner | Perform 'reverse' on the string "rotor". | function process_reverse(s) {
return s.split("").reverse().join("");
}
module.exports = { process_reverse };
console.log(process_reverse("rotor")); | Reverse operation, function named 'process_reverse'. |
1,577 | Java | String Manipulation | beginner | Perform 'reverse' on the string "racecar". | public class Main {
static String process_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(process_reverse("racecar"));
}
} | Reverse operation, function named 'process_reverse'. |
1,578 | Java | String Manipulation | beginner | Perform 'reverse' on the string "hello world". | public class Main {
static String handle_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(handle_reverse("hello world"));
}
} | Reverse operation, function named 'handle_reverse'. |
1,579 | Java | String Manipulation | beginner | Perform 'reverse' on the string "hello world". | public class Main {
static String perform_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(perform_reverse("hello world"));
}
} | Reverse operation, function named 'perform_reverse'. |
1,580 | Java | String Manipulation | beginner | Perform 'reverse' on the string "A man a plan a canal Panama". | public class Main {
static String process_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(process_reverse("A man a plan a canal Panama"));
}
} | Reverse operation, function named 'process_reverse'. |
1,581 | Java | String Manipulation | beginner | Perform 'reverse' on the string "A man a plan a canal Panama". | public class Main {
static String handle_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(handle_reverse("A man a plan a canal Panama"));
}
} | Reverse operation, function named 'handle_reverse'. |
1,582 | Java | String Manipulation | beginner | Perform 'reverse' on the string "Rust is fun". | public class Main {
static String compute_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(compute_reverse("Rust is fun"));
}
} | Reverse operation, function named 'compute_reverse'. |
1,583 | Java | String Manipulation | beginner | Perform 'reverse' on the string "Rust is fun". | public class Main {
static String execute_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(execute_reverse("Rust is fun"));
}
} | Reverse operation, function named 'execute_reverse'. |
1,584 | Java | String Manipulation | beginner | Perform 'reverse' on the string "level". | public class Main {
static String perform_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(perform_reverse("level"));
}
} | Reverse operation, function named 'perform_reverse'. |
1,585 | Java | String Manipulation | beginner | Perform 'reverse' on the string "level". | public class Main {
static String process_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(process_reverse("level"));
}
} | Reverse operation, function named 'process_reverse'. |
1,586 | Java | String Manipulation | beginner | Perform 'reverse' on the string "OpenAI Claude". | public class Main {
static String apply_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(apply_reverse("OpenAI Claude"));
}
} | Reverse operation, function named 'apply_reverse'. |
1,587 | Java | String Manipulation | beginner | Perform 'reverse' on the string "OpenAI Claude". | public class Main {
static String handle_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(handle_reverse("OpenAI Claude"));
}
} | Reverse operation, function named 'handle_reverse'. |
1,588 | Java | String Manipulation | beginner | Perform 'reverse' on the string "was it a car or a cat i saw". | public class Main {
static String apply_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(apply_reverse("was it a car or a cat i saw"));
}
} | Reverse operation, function named 'apply_reverse'. |
1,589 | Java | String Manipulation | beginner | Perform 'reverse' on the string "was it a car or a cat i saw". | public class Main {
static String process_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(process_reverse("was it a car or a cat i saw"));
}
} | Reverse operation, function named 'process_reverse'. |
1,590 | Java | String Manipulation | beginner | Perform 'reverse' on the string "noon". | public class Main {
static String handle_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(handle_reverse("noon"));
}
} | Reverse operation, function named 'handle_reverse'. |
1,591 | Java | String Manipulation | beginner | Perform 'reverse' on the string "noon". | public class Main {
static String perform_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(perform_reverse("noon"));
}
} | Reverse operation, function named 'perform_reverse'. |
1,592 | Java | String Manipulation | beginner | Perform 'reverse' on the string "data science". | public class Main {
static String compute_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(compute_reverse("data science"));
}
} | Reverse operation, function named 'compute_reverse'. |
1,593 | Java | String Manipulation | beginner | Perform 'reverse' on the string "data science". | public class Main {
static String run_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(run_reverse("data science"));
}
} | Reverse operation, function named 'run_reverse'. |
1,594 | Java | String Manipulation | beginner | Perform 'reverse' on the string "step on no pets". | public class Main {
static String process_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(process_reverse("step on no pets"));
}
} | Reverse operation, function named 'process_reverse'. |
1,595 | Java | String Manipulation | beginner | Perform 'reverse' on the string "step on no pets". | public class Main {
static String perform_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(perform_reverse("step on no pets"));
}
} | Reverse operation, function named 'perform_reverse'. |
1,596 | Java | String Manipulation | beginner | Perform 'reverse' on the string "coding". | public class Main {
static String handle_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(handle_reverse("coding"));
}
} | Reverse operation, function named 'handle_reverse'. |
1,597 | Java | String Manipulation | beginner | Perform 'reverse' on the string "coding". | public class Main {
static String compute_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(compute_reverse("coding"));
}
} | Reverse operation, function named 'compute_reverse'. |
1,598 | Java | String Manipulation | beginner | Perform 'reverse' on the string "madam im adam". | public class Main {
static String apply_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(apply_reverse("madam im adam"));
}
} | Reverse operation, function named 'apply_reverse'. |
1,599 | Java | String Manipulation | beginner | Perform 'reverse' on the string "madam im adam". | public class Main {
static String perform_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(perform_reverse("madam im adam"));
}
} | Reverse operation, function named 'perform_reverse'. |
1,600 | Java | String Manipulation | beginner | Perform 'reverse' on the string "kayak". | public class Main {
static String perform_reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static void main(String[] args) {
System.out.println(perform_reverse("kayak"));
}
} | Reverse operation, function named 'perform_reverse'. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.