HF RL Explorer

Task: Reverse Order a Vector in R

Task: Reverse Order a Vector in R: a task in Terminal-Lego-15k (Harbor dataset). You need to write an R script that reverses the order of elements in a vector (i.e., the last element becomes first, the second-to-last becomes second, etc.).

The task

You need to write an R script that reverses the order of elements in a vector (i.e., the last element becomes first, the second-to-last becomes second, etc.).

Part of PrimeIntellect/Terminal-Lego-15k.