← Paytm questionsLexicographical comparison of strings in linked lists
Filed under Paytm
Given two strings represented as linked lists of characters, return 1 if the first string is lexicographically greater, -1 if smaller, and 0 if equal.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.
Collected from public candidate posts and coding forums. Updated Nov 2026.