MAQ Interview Question for Software Engineer / Developers


Country: India
Interview Type: Written Test




Comment hidden because of low score. Click to expand.
0
of 0 vote

The number of members in a room must be 4 rooms of 8 members and 4 rooms of 7 members. There are 2+2+2+2, 2+3+3, 2+2+4, 2+6, 3+5, 4+4 for 8 members; 2+2+3, 3+4, 2+5 for 7 members. If group member 6 exists, it must be in 8 members room and we need to find a 2 member group to match it. Then we need an algorithm to match all the pairs with the conditions and I can not find a good algorithm.

- spy April 13, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

there will be 4 cubicles filled completely..by a team of 6 and a team of 2. (6+2),(6+2),(6+2),(6+2). which is equal to (6*4)+(2*4)=32. and the remaining 4 cubicles are filled with a team of 5 and a team of 2.. (5*4)+(2*4)=28. so 32+28=60 members... all team members are in same cubicle and not more than 1 pc is unallocated.

- arti December 03, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

How do we write algorithm for this problem? This problem seems to be a puzzle. Also what do you mean by efficiency here as you have said write an efficient algorithm?

- Sachin Agarwalla January 28, 2015 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More