Amazon Interview Question

They asked me to solve a problem on finding the longest substring without repeating characters. I explained my approach using a sliding window technique, optimized it to O(n), and implemented it in C++.

Interview Answer

Anonymous

Aug 27, 2025

I described a full-stack social media app I built, where I faced challenges with authentication and session management. I overcame it by implementing JWT-based secure authentication and protected routes.