Amazon Interview Question

They asked questions on arrays and strings mostly