Linked List subtraction and SQL query for sports count
Filed under Samsung
The question
Discussed the structure of a singly linked list, how to reverse it, and how to subtract the first element from the last node, second from second-last, etc. Also wrote an SQL query to find how many sports a given person (John) plays from a table of names and sports.
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.