← Microsoft questions

Calculate Power and Add 1 to Linked List Number

Filed under Microsoft

Implement an efficient power function pow(a, b) and a function to add 1 to a number represented as a linked list where each node is a digit.

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.