โ† Samsung questions
CodingReported in a candidate post, Oct 2021

Reverse a string recursively in O(1) auxiliary space

Filed under Samsung

The question

Write a recursive algorithm to reverse a string in-place with O(1) auxiliary space.

No write-up yet. Related questions below have one.

Related Samsung questions

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