Goldman Sachs
Goldman Sachs

Java Backend Developer

Reverse Linked List in Pairs

Medium
ROUND 2codingCandidate Selected

Reverse a linked list in pairs. For example, given the input 1 → 2 → 3 → 4 → 5, the output should be 2 → 1 → 4 → 3 → 5.

This question was asked in

Goldman Sachs Java Backend Developer Interview Experience

The interview process at Goldman Sachs consisted of five rounds, focusing on diverse topics including data structures, core Java concepts, system design, and behavioral questions. Candidates faced coding challenges in the first two rounds, followed by system design discussions and HR conversations. Overall, the interview experience was moderately challenging, emphasizing technical prowess and the ability to articulate complex concepts.

AI Powered

Share Your Story

Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.

Mock Interviews & 1:1 Guidance

Practice mock interviews or book a 1:1 call for career guidance, resume reviews, and more.

AI Interview Prep

AI interview prep powered by real interview data.

Show Your Love!

Connect with us on social media