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.
Internship Interview Questions
104,861 internship interview questions shared by candidates
Making a market on the Chase Corporate Challenge was difficult. I had absolutely no clue how many people participated so I had to make a very wide market (but was still wrong on a confidence interval which I said was 70% confidence). He asked my 100% confidence interval (which included the correct answer) after he could tell my first answer wasn't confident enough.
Q: Where Do You See Yourself in 5 years?
After clearing aptitude,we had interview.Around 50 students were selected for interview process.
Why Alter Domus?
Which career would you like to prefer - Technical or Managerial ?
Given an array of positive and negative numbers, give an algorithm that would find the sequence of numbers that give the largest sum. The numbers have to be in sequential order.
4ps of marketing? or some current news related to FMCG sector
Problem: Array of 100 integers between 0 and 100. One integer is doubled, find out which. Question: Which methods exist and how do they compare?
You are given a list of numbers and a target number n. List all pairs of numbers in the set that add up to the target number.
Viewing 581 - 590 interview questions