← Microsoft questions

Assign nextGreater pointer in modified linked list

Filed under Microsoft

Given a custom linked list where each node contains an extra 'nextGreater' pointer, populate this pointer for each node to point to the next node in the list that has a strictly greater value. If no…

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.