← Microsoft questions

Intersection of Two Linked Lists and Valid Island Count in 2D Array

Filed under Microsoft

Solve two tasks: (1) Find the intersection node of two singly linked lists. (2) Count the number of islands in a 2D binary grid where 1 represents land and 0 represents water, but with 8-directional…

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.