Leidos Interview Question

Given a string, reverse the words separated by a space, without reversing the words themselves

Interview Answer

Anonymous

Mar 20, 2025

I first gave a simple and obvious implementation, then discussed optimizations and edge cases with the engineers