← Microsoft questions

Add 1 to a linked list

Filed under Microsoft

A number is represented as a linked list of digits where each node contains a single digit. The most significant digit is at the head. Add 1 to the number and return the head of the resulting linked…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.