As reported: IBM Cloud & AI Engineer (Bengaluru, 6.5 years of experience, October 2026), technical round 1: after a project and Docker/Kubernetes discussion, reverse a linked list; then debug a given merge-two-sorted-lists implementation.
This is LeetCode 206 — Reverse Linked List.
Reverse a singly linked list.
Example:
Input: 1->2->3->4->5->NULL
Output: 5->4->3->2->1->NULL
Code runner format: one JSON value per line, in argument order (head), as in LeetCode's test cases. Implement reverseList; the harness prints the result as compact JSON (sorted first when any order is accepted).