Software Developer Intern Interview Questions

2,878 software developer intern interview questions shared by candidates

Maximise profits of opening N shops in a commercial complex Given an integer N representing the number of shops and a 2D array profit[][3], where profit[i][0], profit[i][1], and profit[i][2] represent the profit of opening the ith shop offering services like food, clothing, and electronics respectively, the task is to find the maximum profit by opening all the shops in a way that neighbouring shops offer different services, i.e., no adjacent shops can provide the same service. Input: N = 3, profit[][3] = {{14, 2, 11}, {11, 14, 5}, {14, 3, 10}} Output: 42 Explanation: Open Shop 0 as Food shop. Profit = 14. Open Shop 1 as clothing shop. Profit = 14. Open Shop 2 as Food shop Profit = 14. Therefore, the total profit = 14 + 14 + 14 = 42. Input: N = 2, profit[][3] = {{1, 2, 3}, {1, 4, 6}} Output: 8
avatar

Software Developer Intern

Interviewed at Nielsen

3
Jan 27, 2025

Maximise profits of opening N shops in a commercial complex Given an integer N representing the number of shops and a 2D array profit[][3], where profit[i][0], profit[i][1], and profit[i][2] represent the profit of opening the ith shop offering services like food, clothing, and electronics respectively, the task is to find the maximum profit by opening all the shops in a way that neighbouring shops offer different services, i.e., no adjacent shops can provide the same service. Input: N = 3, profit[][3] = {{14, 2, 11}, {11, 14, 5}, {14, 3, 10}} Output: 42 Explanation: Open Shop 0 as Food shop. Profit = 14. Open Shop 1 as clothing shop. Profit = 14. Open Shop 2 as Food shop Profit = 14. Therefore, the total profit = 14 + 14 + 14 = 42. Input: N = 2, profit[][3] = {{1, 2, 3}, {1, 4, 6}} Output: 8

I don't think any were unexpected or difficult. They'll ask you about past project experience. They'll prompt you to go into the details of your personal design and development process. Nothing I hadn't expected, and nothing that wasn't reasonable to be asked.
avatar

Software Developer Intern

Interviewed at Epic

3.3
Aug 9, 2013

I don't think any were unexpected or difficult. They'll ask you about past project experience. They'll prompt you to go into the details of your personal design and development process. Nothing I hadn't expected, and nothing that wasn't reasonable to be asked.

Viewing 711 - 720 interview questions

Glassdoor has 2,878 interview questions and reports from Software developer intern interviews. Prepare for your interview. Get hired. Love your job.