Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Compare Strings Formed by Linked Lists
Given two linked lists where each node contains a string, determine if the concatenated strings formed by the linked lists are equal. For example, if list A is 'he'->''->`ll'->'o'->'' and list B is 'hell'->'o', the result should be true.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Mid January, 2025
Meta
Senior
Given 2 linked lists, check whether the strings formed by the values of the linked lists are the same. E.g. list A: 'he'->''->'ll'->'o'->'' list B: 'hell'->'o' Output: true
Mid January, 2025
Meta
Senior
Given 2 linked lists, check whether the strings formed by the values of the linked lists are the same. E.g. list A: 'he'->''->'ll'->'o'->'' list B: 'hell'->'o' Output: true
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.