Guidewire Interview Question

Create a method to reverse a string in linear time