Technical Interview 1 Coding Tasks
Filed under Samsung
The question
Write code to reverse a linked list, find the diameter of an n-ary tree (pseudo code), and find the longest common substring (pseudo code).
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.