← SAP questions
CodingReported in a candidate post, Feb 2024

Reverse a string using two pointers

Filed under SAP · Also reported at Cognizant

Write a function to reverse a given string in-place or using the two-pointer technique.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related SAP questions

Collected from public candidate posts and coding forums. Updated Nov 2026.