← Goldman Sachs questions

Linked list palindrome check from string

Filed under Goldman Sachs

Accept a string as input, construct a singly linked list representing the string character by character, and write a function to check if the linked list is a palindrome.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

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