Status: reversing a string in languages nothing like c, but as if it were c,...

@mistersql

Status: reversing a string in languages nothing like c, but as if it were c, just to feel employable.

Self-replies

`strrev("hello world")`

But that is not what interviewer want to see.

Here is how to do it with loops (in terraform)

```hcl
locals {
indexed = { for idx, val in var.input : idx => val }
reversed = [for i in range(length(var.input)) : local.indexed[length(var.input) - 1 - i]]
}
```