Cracking Pinterest's Software Engineer Interview: Tackling the Number of Islands Challenge

pinterest | Software Engineer | Interview Experience

Interview Date: Not specified
Result: Not specified
Difficulty: Not specified

Interview Process

The interview involved a coding question related to counting the number of objects in a two-dimensional array. The question was somewhat lengthy but essentially revolved around the “Number of Islands” problem. The interviewer provided a friendly atmosphere and assumed that the objects were connected by default. A follow-up question was asked regarding how to handle cases where the objects were not connected.

Technical Questions

  1. Number of Islands

Tips & Insights

Be prepared to discuss variations of common problems and clarify assumptions with the interviewer.