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 ?
Determine if there are common elements in an array of integers. Follow-up: do this without using any extra space or additional data structures.
explain recursion to a little boy
She didn’t check my C.V I guess because she didn’t ask about my associative experience, however when i cited it she was underestimating it and asked, u manage a team of how many people?
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.
Viewing 581 - 590 interview questions