Coding Interview Questions Career.Cup. Cross the street.ABC Company is involved in the logistics business.The company has many outlets and stockyards in a city.The city is like an.NM grid. We consider a single cell of the given grid to be a single block in the city.The stockyard is at the upper left corner and the outlet is located in the lower right corner.Everyday, one of the employees has to travel from the upper left to the lower right corner for supplies.Each block in the city has a height, where the height of the block located at position i,j in the grid is equal to.Amazon Software Design Interview Questions' title='Amazon Software Design Interview Questions' />Aij.The company wants to change the heights of some of the blocks, so that the employee can enjoy a high speed drive from the stockyard to the outlet.But this change comes at a certain cost.Specifically, if they change a block height from x to y, then they must pay exactly.Please help them find the minimum cost, such that by spending that specific amount, they can get a path from stockyard to the outlet with all blocks along the path having the same height.In a single move, the employee can move from a block to any of its adjacent blocks.Note that during this journey, the employee is allowed to move in all four directions, fulfilling the condition that he never goes out of the grid at any point in time.First line contains two positive integers N and M number of rows and columns in the city.Then, N lines follow, each containing M integers, where the.The first and only line of output should contain minimum cost.N, M lt 1. 00. Optimal path taken by the employee will be 1,1 1,2 1,3 1,4 1,5 2,5 3,5 3,4 3,3 3,2 3,1 4,1 5,1 5,2 5,3 5,4 5,5 The height of each block along this path can be changed to.There is no way to get a cost less than this.New Interview Questions for Senior Software Engineers.After reading all the comments, I have made some observations 1 There isnt an agreement as to what a senior software engineer should know.IL9/9781452854649.jpg' alt='Amazon Software Design Interview Questions' title='Amazon Software Design Interview Questions' />But that is quite ok since different companies have different standards as to who should be a senior software engineer.I have been a senior software engineer in my second job and now I am in my 5th job and I dont expect be a senior software engineer in my current company for at least a couple of years from now.We all believe we are competent people I am not saying you guys arent, I am just saying most average and below average developers think they deserve the job that they are interviewing for and believe that they would be able to do it decently if they are hired.And what is funny is that they are correct for a large percentage of time not every job require superstars.Most people are looking for a candidate just like themselves.F1 Visa Interview Questions for US Student Visa.Frequently asked Questions at US Embassy for US Student visa.F1 Visa Questions and Answers.That button is quite prominent on the Look, a design choice the company no doubt made in an attempt to nip some of the privacy questions in the bud.Cloud Computing interview questions and answers for freshers and experienced List of Cloud Computing questions with answers that might be asked during an interview.I/51Xn1VZE4nL.jpg' alt='Amazon Software Design Interview Questions' title='Amazon Software Design Interview Questions' />If the candidate knows the stuff that I know then I would probably hire them.If they dont know what I believe is important, then I probably wont hire him.It seems reasonable but the situation is quite sad if we look at the fact that what the interviewer thinks is important can vary widely from person to person.There are some people who doesnt read a lot and hence not familiar with acronyms and the names of the cool technologyprocessframeworkdesign strategies even though they might have a good sense of how to deal with situation involving them.For example, such a person might be able to arrive at an abstract factory solution for a problem where it is a good fit, without ever being aware that what he did has a name and is a standard solution for them problem he solved. How To Install Garbage Disposal On Double Sink there. Such people really hate the kind of questions where the interviewer asks him what is dependency injection, even though he might be employing it in his projects without knowing its name.Then there are people who are not big on previous experience but reads a lot and is aware of what is the newest thing in the technology space.They know what the different design patterns are, what TDD is, what IOC is etc even though they might never have used them in their projects or they might never be able to come up with abstract factory on their own without having read about it in some book or website.These people make up for their lack of ingenuity by reading about stuff.Those people would love the questions listed in this blog post please note that I am not making the assumption that all the people who know the answers to the questions above are in the 2nd category, there are a lot of developers who read books and is always up to date on the technology space but also might have discovered abstract factory on their own So which of these two kind of developers are more valuable I dont think we would have an agreement on that.If I am in the 1st category I am more prone to think that the 1st category developers are more valuable, same is the case with the 2nd category.This goes back to my 2nd point we are looking for ourselves in others.If we know the answer to the a question from the above list, we have a tendency to think that it is a good question.If we dont know the answer, then we are are inclined to believe that the question is not really relevant to finding a good software engineer with the following line of reasoning I believe that I am a competent developer and if I dont know the answer to that question, hence the question is not relevant to finding a good software engineer 5 A good number of interviewers wouldnt be able to answer a good number of these questions themselves if asked in an interview.A good number of people who are already in the team for the position being interviewed wont be able to answer a good number of these questions.To summarize, i dont think we have any good solution to the problem of having to choose the right interview questions.No matter what strategy we choose, we always miss some good developers and sometimes hire a BS developer.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |