Software Engineer Summer Internship Interview Questions

23,881 software engineer summer internship interview questions shared by candidates

There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certain color is different. You have to paint all the houses such that no two adjacent houses have the same color. The cost of painting each house with a certain color is represented by a n x 3 cost matrix. For example, costs[0][0] is the cost of painting house 0 with color red; costs[1][2] is the cost of painting house 1 with color green, and so on... Find the minimum cost to paint all houses.
avatar

Software Engineer(Internship)

Interviewed at Amazon

3.5
Dec 5, 2017

There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certain color is different. You have to paint all the houses such that no two adjacent houses have the same color. The cost of painting each house with a certain color is represented by a n x 3 cost matrix. For example, costs[0][0] is the cost of painting house 0 with color red; costs[1][2] is the cost of painting house 1 with color green, and so on... Find the minimum cost to paint all houses.

Q: Given an n-ary tree of resources arranged hierarchically such that height of tree is O(Log N) where N is total number of nodes (or resources). A process needs to lock a resource node in order to use it. But a node cannot be locked if any of its descendant or ancestor is locked.
avatar

Software Engineer(Internship)

Interviewed at JUSPAY

4
Aug 5, 2021

Q: Given an n-ary tree of resources arranged hierarchically such that height of tree is O(Log N) where N is total number of nodes (or resources). A process needs to lock a resource node in order to use it. But a node cannot be locked if any of its descendant or ancestor is locked.

Round 1 - Online test There were 3 sections in the test 1. MCQ (basic java/core java) 2. One liner Answer (why pointers not used? What is exception, JDBC, Servlet, etc) .... Learn basics of Java from YouTube 3. Coding Questions (Anagram, deadlock, PrimenNmber or not) You can code in Java or any coding language you know Round 2 - Technical Interview #prepare for good introduction "Topics to study" OOPS concepts Types of Data Structures Core Java Types of Exceptions in java Types of errors What is Product lifecycle? API why Java is used Servlet JDK, JVM difference Bank loan procedure (steps) Intellij Idea (any IDE used for programming) 1 logical aptitude question
avatar

Software Engineer(Internship)

Interviewed at CustomerXPs

3.4
May 29, 2022

Round 1 - Online test There were 3 sections in the test 1. MCQ (basic java/core java) 2. One liner Answer (why pointers not used? What is exception, JDBC, Servlet, etc) .... Learn basics of Java from YouTube 3. Coding Questions (Anagram, deadlock, PrimenNmber or not) You can code in Java or any coding language you know Round 2 - Technical Interview #prepare for good introduction "Topics to study" OOPS concepts Types of Data Structures Core Java Types of Exceptions in java Types of errors What is Product lifecycle? API why Java is used Servlet JDK, JVM difference Bank loan procedure (steps) Intellij Idea (any IDE used for programming) 1 logical aptitude question

Viewing 231 - 240 interview questions

Glassdoor has 23,881 interview questions and reports from Software engineer summer internship interviews. Prepare for your interview. Get hired. Love your job.