Shopee Interview Question

In a live coding session, the recruiter asked me to write the code to reverse the linked list.

Interview Answer

Anonymous

Feb 5, 2021

With a limited time and him watching me code, I wasn't able to focus on the logic of the algorithm. I attempted it and wrote the code, but all of my attempts failed and I couldn't complete it.