Given a linked list, modify the first half by subtracting the corresponding node value from the second half (e.g., first node = first - last, second = second - second_last).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.