Given the head of a singly linked list containing n distinct nodes whose values are a subset of integers from 1 to n + 1, find the single missing number in the range [1, n + 1].
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.