Graduate Software Developer Interview Questions

1,325 graduate software developer interview questions shared by candidates

You are given a 2D array which is populated with numbers. The 2D array simulates a map where a country is defined by a number who's neighbors are different numbers to them. if the number neighboring are the same then the count as one complete country. Write an Algorithm which will go through a 2d matrix and count the number of countries
avatar

Graduate Software Developer

Interviewed at Amazon

3.5
Apr 21, 2015

You are given a 2D array which is populated with numbers. The 2D array simulates a map where a country is defined by a number who's neighbors are different numbers to them. if the number neighboring are the same then the count as one complete country. Write an Algorithm which will go through a 2d matrix and count the number of countries

Viewing 521 - 530 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 1,325 interview questions and reports from Graduate software developer interviews. Prepare for your interview. Get hired. Love your job.