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,601
Java
String Manipulation
beginner
Perform 'reverse' on the string "kayak".
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("kayak")); } }
Reverse operation, function named 'apply_reverse'.
1,602
Java
String Manipulation
beginner
Perform 'reverse' on the string "the quick brown fox".
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("the quick brown fox")); } }
Reverse operation, function named 'handle_reverse'.
1,603
Java
String Manipulation
beginner
Perform 'reverse' on the string "the quick brown fox".
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("the quick brown fox")); } }
Reverse operation, function named 'perform_reverse'.
1,604
Java
String Manipulation
beginner
Perform 'reverse' on the string "civic".
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("civic")); } }
Reverse operation, function named 'apply_reverse'.
1,605
Java
String Manipulation
beginner
Perform 'reverse' on the string "civic".
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("civic")); } }
Reverse operation, function named 'perform_reverse'.
1,606
Java
String Manipulation
beginner
Perform 'reverse' on the string "never odd or even".
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("never odd or even")); } }
Reverse operation, function named 'handle_reverse'.
1,607
Java
String Manipulation
beginner
Perform 'reverse' on the string "never odd or even".
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("never odd or even")); } }
Reverse operation, function named 'compute_reverse'.
1,608
Java
String Manipulation
beginner
Perform 'reverse' on the string "python programming".
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("python programming")); } }
Reverse operation, function named 'process_reverse'.
1,609
Java
String Manipulation
beginner
Perform 'reverse' on the string "python programming".
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("python programming")); } }
Reverse operation, function named 'run_reverse'.
1,610
Java
String Manipulation
beginner
Perform 'reverse' on the string "deified".
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("deified")); } }
Reverse operation, function named 'perform_reverse'.
1,611
Java
String Manipulation
beginner
Perform 'reverse' on the string "deified".
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("deified")); } }
Reverse operation, function named 'compute_reverse'.
1,612
Java
String Manipulation
beginner
Perform 'reverse' on the string "algorithms and data structures".
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("algorithms and data structures")); } }
Reverse operation, function named 'handle_reverse'.
1,613
Java
String Manipulation
beginner
Perform 'reverse' on the string "algorithms and data structures".
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("algorithms and data structures")); } }
Reverse operation, function named 'compute_reverse'.
1,614
Java
String Manipulation
beginner
Perform 'reverse' on the string "rotor".
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("rotor")); } }
Reverse operation, function named 'handle_reverse'.
1,615
Java
String Manipulation
beginner
Perform 'reverse' on the string "rotor".
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("rotor")); } }
Reverse operation, function named 'execute_reverse'.
1,616
C
String Manipulation
beginner
Perform 'reverse' on the string "racecar".
#include <stdio.h> #include <string.h> void compute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "racecar"; compute_reverse(s); printf("%s\n", ...
Reverse operation, function named 'compute_reverse'.
1,617
C
String Manipulation
beginner
Perform 'reverse' on the string "racecar".
#include <stdio.h> #include <string.h> void run_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "racecar"; run_reverse(s); printf("%s\n", s); ...
Reverse operation, function named 'run_reverse'.
1,618
C
String Manipulation
beginner
Perform 'reverse' on the string "hello world".
#include <stdio.h> #include <string.h> void handle_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "hello world"; handle_reverse(s); printf("%s\n"...
Reverse operation, function named 'handle_reverse'.
1,619
C
String Manipulation
beginner
Perform 'reverse' on the string "hello world".
#include <stdio.h> #include <string.h> void apply_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "hello world"; apply_reverse(s); printf("%s\n", ...
Reverse operation, function named 'apply_reverse'.
1,620
C
String Manipulation
beginner
Perform 'reverse' on the string "A man a plan a canal Panama".
#include <stdio.h> #include <string.h> void handle_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "A man a plan a canal Panama"; handle_reverse(s); ...
Reverse operation, function named 'handle_reverse'.
1,621
C
String Manipulation
beginner
Perform 'reverse' on the string "A man a plan a canal Panama".
#include <stdio.h> #include <string.h> void compute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "A man a plan a canal Panama"; compute_reverse(s);...
Reverse operation, function named 'compute_reverse'.
1,622
C
String Manipulation
beginner
Perform 'reverse' on the string "Rust is fun".
#include <stdio.h> #include <string.h> void handle_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "Rust is fun"; handle_reverse(s); printf("%s\n"...
Reverse operation, function named 'handle_reverse'.
1,623
C
String Manipulation
beginner
Perform 'reverse' on the string "level".
#include <stdio.h> #include <string.h> void compute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "level"; compute_reverse(s); printf("%s\n", s)...
Reverse operation, function named 'compute_reverse'.
1,624
C
String Manipulation
beginner
Perform 'reverse' on the string "OpenAI Claude".
#include <stdio.h> #include <string.h> void perform_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "OpenAI Claude"; perform_reverse(s); printf("%...
Reverse operation, function named 'perform_reverse'.
1,625
C
String Manipulation
beginner
Perform 'reverse' on the string "OpenAI Claude".
#include <stdio.h> #include <string.h> void run_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "OpenAI Claude"; run_reverse(s); printf("%s\n", s)...
Reverse operation, function named 'run_reverse'.
1,626
C
String Manipulation
beginner
Perform 'reverse' on the string "was it a car or a cat i saw".
#include <stdio.h> #include <string.h> void compute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "was it a car or a cat i saw"; compute_reverse(s);...
Reverse operation, function named 'compute_reverse'.
1,627
C
String Manipulation
beginner
Perform 'reverse' on the string "was it a car or a cat i saw".
#include <stdio.h> #include <string.h> void process_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "was it a car or a cat i saw"; process_reverse(s);...
Reverse operation, function named 'process_reverse'.
1,628
C
String Manipulation
beginner
Perform 'reverse' on the string "noon".
#include <stdio.h> #include <string.h> void run_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "noon"; run_reverse(s); printf("%s\n", s); ret...
Reverse operation, function named 'run_reverse'.
1,629
C
String Manipulation
beginner
Perform 'reverse' on the string "noon".
#include <stdio.h> #include <string.h> void compute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "noon"; compute_reverse(s); printf("%s\n", s);...
Reverse operation, function named 'compute_reverse'.
1,630
C
String Manipulation
beginner
Perform 'reverse' on the string "data science".
#include <stdio.h> #include <string.h> void execute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "data science"; execute_reverse(s); printf("%s...
Reverse operation, function named 'execute_reverse'.
1,631
C
String Manipulation
beginner
Perform 'reverse' on the string "data science".
#include <stdio.h> #include <string.h> void compute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "data science"; compute_reverse(s); printf("%s...
Reverse operation, function named 'compute_reverse'.
1,632
C
String Manipulation
beginner
Perform 'reverse' on the string "step on no pets".
#include <stdio.h> #include <string.h> void compute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "step on no pets"; compute_reverse(s); printf(...
Reverse operation, function named 'compute_reverse'.
1,633
C
String Manipulation
beginner
Perform 'reverse' on the string "step on no pets".
#include <stdio.h> #include <string.h> void apply_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "step on no pets"; apply_reverse(s); printf("%s\...
Reverse operation, function named 'apply_reverse'.
1,634
C
String Manipulation
beginner
Perform 'reverse' on the string "coding".
#include <stdio.h> #include <string.h> void perform_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "coding"; perform_reverse(s); printf("%s\n", s...
Reverse operation, function named 'perform_reverse'.
1,635
C
String Manipulation
beginner
Perform 'reverse' on the string "coding".
#include <stdio.h> #include <string.h> void execute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "coding"; execute_reverse(s); printf("%s\n", s...
Reverse operation, function named 'execute_reverse'.
1,636
C
String Manipulation
beginner
Perform 'reverse' on the string "madam im adam".
#include <stdio.h> #include <string.h> void run_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "madam im adam"; run_reverse(s); printf("%s\n", s)...
Reverse operation, function named 'run_reverse'.
1,637
C
String Manipulation
beginner
Perform 'reverse' on the string "madam im adam".
#include <stdio.h> #include <string.h> void apply_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "madam im adam"; apply_reverse(s); printf("%s\n"...
Reverse operation, function named 'apply_reverse'.
1,638
C
String Manipulation
beginner
Perform 'reverse' on the string "kayak".
#include <stdio.h> #include <string.h> void perform_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "kayak"; perform_reverse(s); printf("%s\n", s)...
Reverse operation, function named 'perform_reverse'.
1,639
C
String Manipulation
beginner
Perform 'reverse' on the string "the quick brown fox".
#include <stdio.h> #include <string.h> void apply_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "the quick brown fox"; apply_reverse(s); printf(...
Reverse operation, function named 'apply_reverse'.
1,640
C
String Manipulation
beginner
Perform 'reverse' on the string "the quick brown fox".
#include <stdio.h> #include <string.h> void handle_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "the quick brown fox"; handle_reverse(s); print...
Reverse operation, function named 'handle_reverse'.
1,641
C
String Manipulation
beginner
Perform 'reverse' on the string "civic".
#include <stdio.h> #include <string.h> void process_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "civic"; process_reverse(s); printf("%s\n", s)...
Reverse operation, function named 'process_reverse'.
1,642
C
String Manipulation
beginner
Perform 'reverse' on the string "civic".
#include <stdio.h> #include <string.h> void apply_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "civic"; apply_reverse(s); printf("%s\n", s); ...
Reverse operation, function named 'apply_reverse'.
1,643
C
String Manipulation
beginner
Perform 'reverse' on the string "never odd or even".
#include <stdio.h> #include <string.h> void execute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "never odd or even"; execute_reverse(s); print...
Reverse operation, function named 'execute_reverse'.
1,644
C
String Manipulation
beginner
Perform 'reverse' on the string "never odd or even".
#include <stdio.h> #include <string.h> void run_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "never odd or even"; run_reverse(s); printf("%s\n"...
Reverse operation, function named 'run_reverse'.
1,645
C
String Manipulation
beginner
Perform 'reverse' on the string "python programming".
#include <stdio.h> #include <string.h> void handle_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "python programming"; handle_reverse(s); printf...
Reverse operation, function named 'handle_reverse'.
1,646
C
String Manipulation
beginner
Perform 'reverse' on the string "python programming".
#include <stdio.h> #include <string.h> void execute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "python programming"; execute_reverse(s); prin...
Reverse operation, function named 'execute_reverse'.
1,647
C
String Manipulation
beginner
Perform 'reverse' on the string "deified".
#include <stdio.h> #include <string.h> void execute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "deified"; execute_reverse(s); printf("%s\n", ...
Reverse operation, function named 'execute_reverse'.
1,648
C
String Manipulation
beginner
Perform 'reverse' on the string "deified".
#include <stdio.h> #include <string.h> void handle_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "deified"; handle_reverse(s); printf("%s\n", s)...
Reverse operation, function named 'handle_reverse'.
1,649
C
String Manipulation
beginner
Perform 'reverse' on the string "algorithms and data structures".
#include <stdio.h> #include <string.h> void perform_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "algorithms and data structures"; perform_reverse(...
Reverse operation, function named 'perform_reverse'.
1,650
C
String Manipulation
beginner
Perform 'reverse' on the string "algorithms and data structures".
#include <stdio.h> #include <string.h> void run_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "algorithms and data structures"; run_reverse(s); ...
Reverse operation, function named 'run_reverse'.
1,651
C
String Manipulation
beginner
Perform 'reverse' on the string "rotor".
#include <stdio.h> #include <string.h> void compute_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "rotor"; compute_reverse(s); printf("%s\n", s)...
Reverse operation, function named 'compute_reverse'.
1,652
C
String Manipulation
beginner
Perform 'reverse' on the string "rotor".
#include <stdio.h> #include <string.h> void perform_reverse(char* s) { int len = (int) strlen(s); for (int i = 0; i < len / 2; i++) { char t = s[i]; s[i] = s[len - 1 - i]; s[len - 1 - i] = t; } } int main(void) { char s[] = "rotor"; perform_reverse(s); printf("%s\n", s)...
Reverse operation, function named 'perform_reverse'.
1,653
C++
String Manipulation
beginner
Perform 'reverse' on the string "racecar".
#include <iostream> #include <string> #include <algorithm> std::string apply_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << apply_reverse("racecar") << std::endl; return 0; }
Reverse operation, function named 'apply_reverse'.
1,654
C++
String Manipulation
beginner
Perform 'reverse' on the string "racecar".
#include <iostream> #include <string> #include <algorithm> std::string perform_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << perform_reverse("racecar") << std::endl; return 0; }
Reverse operation, function named 'perform_reverse'.
1,655
C++
String Manipulation
beginner
Perform 'reverse' on the string "hello world".
#include <iostream> #include <string> #include <algorithm> std::string apply_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << apply_reverse("hello world") << std::endl; return 0; }
Reverse operation, function named 'apply_reverse'.
1,656
C++
String Manipulation
beginner
Perform 'reverse' on the string "hello world".
#include <iostream> #include <string> #include <algorithm> std::string compute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << compute_reverse("hello world") << std::endl; return 0; }
Reverse operation, function named 'compute_reverse'.
1,657
C++
String Manipulation
beginner
Perform 'reverse' on the string "A man a plan a canal Panama".
#include <iostream> #include <string> #include <algorithm> std::string handle_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << handle_reverse("A man a plan a canal Panama") << std::endl; return 0; }
Reverse operation, function named 'handle_reverse'.
1,658
C++
String Manipulation
beginner
Perform 'reverse' on the string "A man a plan a canal Panama".
#include <iostream> #include <string> #include <algorithm> std::string compute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << compute_reverse("A man a plan a canal Panama") << std::endl; return 0; }
Reverse operation, function named 'compute_reverse'.
1,659
C++
String Manipulation
beginner
Perform 'reverse' on the string "Rust is fun".
#include <iostream> #include <string> #include <algorithm> std::string perform_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << perform_reverse("Rust is fun") << std::endl; return 0; }
Reverse operation, function named 'perform_reverse'.
1,660
C++
String Manipulation
beginner
Perform 'reverse' on the string "Rust is fun".
#include <iostream> #include <string> #include <algorithm> std::string execute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << execute_reverse("Rust is fun") << std::endl; return 0; }
Reverse operation, function named 'execute_reverse'.
1,661
C++
String Manipulation
beginner
Perform 'reverse' on the string "level".
#include <iostream> #include <string> #include <algorithm> std::string execute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << execute_reverse("level") << std::endl; return 0; }
Reverse operation, function named 'execute_reverse'.
1,662
C++
String Manipulation
beginner
Perform 'reverse' on the string "level".
#include <iostream> #include <string> #include <algorithm> std::string apply_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << apply_reverse("level") << std::endl; return 0; }
Reverse operation, function named 'apply_reverse'.
1,663
C++
String Manipulation
beginner
Perform 'reverse' on the string "OpenAI Claude".
#include <iostream> #include <string> #include <algorithm> std::string perform_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << perform_reverse("OpenAI Claude") << std::endl; return 0; }
Reverse operation, function named 'perform_reverse'.
1,664
C++
String Manipulation
beginner
Perform 'reverse' on the string "OpenAI Claude".
#include <iostream> #include <string> #include <algorithm> std::string apply_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << apply_reverse("OpenAI Claude") << std::endl; return 0; }
Reverse operation, function named 'apply_reverse'.
1,665
C++
String Manipulation
beginner
Perform 'reverse' on the string "was it a car or a cat i saw".
#include <iostream> #include <string> #include <algorithm> std::string compute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << compute_reverse("was it a car or a cat i saw") << std::endl; return 0; }
Reverse operation, function named 'compute_reverse'.
1,666
C++
String Manipulation
beginner
Perform 'reverse' on the string "was it a car or a cat i saw".
#include <iostream> #include <string> #include <algorithm> std::string process_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << process_reverse("was it a car or a cat i saw") << std::endl; return 0; }
Reverse operation, function named 'process_reverse'.
1,667
C++
String Manipulation
beginner
Perform 'reverse' on the string "noon".
#include <iostream> #include <string> #include <algorithm> std::string execute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << execute_reverse("noon") << std::endl; return 0; }
Reverse operation, function named 'execute_reverse'.
1,668
C++
String Manipulation
beginner
Perform 'reverse' on the string "noon".
#include <iostream> #include <string> #include <algorithm> std::string apply_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << apply_reverse("noon") << std::endl; return 0; }
Reverse operation, function named 'apply_reverse'.
1,669
C++
String Manipulation
beginner
Perform 'reverse' on the string "data science".
#include <iostream> #include <string> #include <algorithm> std::string handle_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << handle_reverse("data science") << std::endl; return 0; }
Reverse operation, function named 'handle_reverse'.
1,670
C++
String Manipulation
beginner
Perform 'reverse' on the string "data science".
#include <iostream> #include <string> #include <algorithm> std::string compute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << compute_reverse("data science") << std::endl; return 0; }
Reverse operation, function named 'compute_reverse'.
1,671
C++
String Manipulation
beginner
Perform 'reverse' on the string "step on no pets".
#include <iostream> #include <string> #include <algorithm> std::string handle_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << handle_reverse("step on no pets") << std::endl; return 0; }
Reverse operation, function named 'handle_reverse'.
1,672
C++
String Manipulation
beginner
Perform 'reverse' on the string "step on no pets".
#include <iostream> #include <string> #include <algorithm> std::string run_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << run_reverse("step on no pets") << std::endl; return 0; }
Reverse operation, function named 'run_reverse'.
1,673
C++
String Manipulation
beginner
Perform 'reverse' on the string "coding".
#include <iostream> #include <string> #include <algorithm> std::string compute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << compute_reverse("coding") << std::endl; return 0; }
Reverse operation, function named 'compute_reverse'.
1,674
C++
String Manipulation
beginner
Perform 'reverse' on the string "coding".
#include <iostream> #include <string> #include <algorithm> std::string process_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << process_reverse("coding") << std::endl; return 0; }
Reverse operation, function named 'process_reverse'.
1,675
C++
String Manipulation
beginner
Perform 'reverse' on the string "madam im adam".
#include <iostream> #include <string> #include <algorithm> std::string process_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << process_reverse("madam im adam") << std::endl; return 0; }
Reverse operation, function named 'process_reverse'.
1,676
C++
String Manipulation
beginner
Perform 'reverse' on the string "madam im adam".
#include <iostream> #include <string> #include <algorithm> std::string execute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << execute_reverse("madam im adam") << std::endl; return 0; }
Reverse operation, function named 'execute_reverse'.
1,677
C++
String Manipulation
beginner
Perform 'reverse' on the string "kayak".
#include <iostream> #include <string> #include <algorithm> std::string perform_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << perform_reverse("kayak") << std::endl; return 0; }
Reverse operation, function named 'perform_reverse'.
1,678
C++
String Manipulation
beginner
Perform 'reverse' on the string "the quick brown fox".
#include <iostream> #include <string> #include <algorithm> std::string handle_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << handle_reverse("the quick brown fox") << std::endl; return 0; }
Reverse operation, function named 'handle_reverse'.
1,679
C++
String Manipulation
beginner
Perform 'reverse' on the string "the quick brown fox".
#include <iostream> #include <string> #include <algorithm> std::string run_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << run_reverse("the quick brown fox") << std::endl; return 0; }
Reverse operation, function named 'run_reverse'.
1,680
C++
String Manipulation
beginner
Perform 'reverse' on the string "civic".
#include <iostream> #include <string> #include <algorithm> std::string handle_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << handle_reverse("civic") << std::endl; return 0; }
Reverse operation, function named 'handle_reverse'.
1,681
C++
String Manipulation
beginner
Perform 'reverse' on the string "civic".
#include <iostream> #include <string> #include <algorithm> std::string run_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << run_reverse("civic") << std::endl; return 0; }
Reverse operation, function named 'run_reverse'.
1,682
C++
String Manipulation
beginner
Perform 'reverse' on the string "never odd or even".
#include <iostream> #include <string> #include <algorithm> std::string execute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << execute_reverse("never odd or even") << std::endl; return 0; }
Reverse operation, function named 'execute_reverse'.
1,683
C++
String Manipulation
beginner
Perform 'reverse' on the string "never odd or even".
#include <iostream> #include <string> #include <algorithm> std::string compute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << compute_reverse("never odd or even") << std::endl; return 0; }
Reverse operation, function named 'compute_reverse'.
1,684
C++
String Manipulation
beginner
Perform 'reverse' on the string "python programming".
#include <iostream> #include <string> #include <algorithm> std::string compute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << compute_reverse("python programming") << std::endl; return 0; }
Reverse operation, function named 'compute_reverse'.
1,685
C++
String Manipulation
beginner
Perform 'reverse' on the string "python programming".
#include <iostream> #include <string> #include <algorithm> std::string execute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << execute_reverse("python programming") << std::endl; return 0; }
Reverse operation, function named 'execute_reverse'.
1,686
C++
String Manipulation
beginner
Perform 'reverse' on the string "deified".
#include <iostream> #include <string> #include <algorithm> std::string run_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << run_reverse("deified") << std::endl; return 0; }
Reverse operation, function named 'run_reverse'.
1,687
C++
String Manipulation
beginner
Perform 'reverse' on the string "deified".
#include <iostream> #include <string> #include <algorithm> std::string perform_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << perform_reverse("deified") << std::endl; return 0; }
Reverse operation, function named 'perform_reverse'.
1,688
C++
String Manipulation
beginner
Perform 'reverse' on the string "algorithms and data structures".
#include <iostream> #include <string> #include <algorithm> std::string execute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << execute_reverse("algorithms and data structures") << std::endl; return 0; }
Reverse operation, function named 'execute_reverse'.
1,689
C++
String Manipulation
beginner
Perform 'reverse' on the string "algorithms and data structures".
#include <iostream> #include <string> #include <algorithm> std::string process_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << process_reverse("algorithms and data structures") << std::endl; return 0; }
Reverse operation, function named 'process_reverse'.
1,690
C++
String Manipulation
beginner
Perform 'reverse' on the string "rotor".
#include <iostream> #include <string> #include <algorithm> std::string compute_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << compute_reverse("rotor") << std::endl; return 0; }
Reverse operation, function named 'compute_reverse'.
1,691
C++
String Manipulation
beginner
Perform 'reverse' on the string "rotor".
#include <iostream> #include <string> #include <algorithm> std::string perform_reverse(std::string s) { std::reverse(s.begin(), s.end()); return s; } int main() { std::cout << perform_reverse("rotor") << std::endl; return 0; }
Reverse operation, function named 'perform_reverse'.
1,692
Rust
String Manipulation
beginner
Perform 'reverse' on the string "racecar".
fn process_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", process_reverse("racecar")); }
Reverse operation, function named 'process_reverse'.
1,693
Rust
String Manipulation
beginner
Perform 'reverse' on the string "racecar".
fn perform_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", perform_reverse("racecar")); }
Reverse operation, function named 'perform_reverse'.
1,694
Rust
String Manipulation
beginner
Perform 'reverse' on the string "hello world".
fn compute_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", compute_reverse("hello world")); }
Reverse operation, function named 'compute_reverse'.
1,695
Rust
String Manipulation
beginner
Perform 'reverse' on the string "hello world".
fn apply_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", apply_reverse("hello world")); }
Reverse operation, function named 'apply_reverse'.
1,696
Rust
String Manipulation
beginner
Perform 'reverse' on the string "A man a plan a canal Panama".
fn process_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", process_reverse("A man a plan a canal Panama")); }
Reverse operation, function named 'process_reverse'.
1,697
Rust
String Manipulation
beginner
Perform 'reverse' on the string "A man a plan a canal Panama".
fn handle_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", handle_reverse("A man a plan a canal Panama")); }
Reverse operation, function named 'handle_reverse'.
1,698
Rust
String Manipulation
beginner
Perform 'reverse' on the string "Rust is fun".
fn run_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", run_reverse("Rust is fun")); }
Reverse operation, function named 'run_reverse'.
1,699
Rust
String Manipulation
beginner
Perform 'reverse' on the string "level".
fn compute_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", compute_reverse("level")); }
Reverse operation, function named 'compute_reverse'.
1,700
Rust
String Manipulation
beginner
Perform 'reverse' on the string "OpenAI Claude".
fn perform_reverse(s: &str) -> String { s.chars().rev().collect() } fn main() { println!("{}", perform_reverse("OpenAI Claude")); }
Reverse operation, function named 'perform_reverse'.