Intuit Interview Question for Software Engineer / Developers

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

Trick question. Given an odd number of teams, each team can't play only once a week.

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

Exactly....I don't get why people are doing combination which leaves 1 team idle for that week meaning not all the teams are playing for that week.

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

Formulating: It is clear that only two matches can be held per week. And these two matches are played by 4 different teams. Now our task is to pick 4 teams out of 5. This can be done in 5C4 ways. ie 5

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

Team e plays two away games in a row, but that's not ruled out

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

In which case, here's the schedule:
a b c d e
1 -1 2 -2 0 a v b & c v d
-1 2 -2 0 1 a v e & b v c
1 -2 0 -1 2 a v d & b v e
-1 0 1 2 -2 a v c & d v e
0 1 -2 -1 2 b v d & c v e

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

Man, it's easy hitting that submit button. Answer is 5 weeks, letters are teams, number is game played, positive means away, negative means home

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

Hey ppl,
I know this is not the place for it, but I have a question regd project/thesis for master's students. How important do people think it is in getting a job?
Thanks

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

They only asked how many weeks. So C(5,2) is 10 and each week there will be 2 games (4 teams can play, 1 idle). so 10/2=5 weeks. As for not playing at home in consecutive weeks, it should be easy to arrange since 1 team will be idle. So 5 weeks is the answer.

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

Here is one possible solution:
1 - Host; 0 - Away; - didn't play
Week A B C D E
I 1 0 1 0 - AvB & CvD
II 0 1 0 - 1 AvE & BvC
III - 0 1 1 0 BvD & CvE
IV 1 - 0 0 1 AvC & DvE
V 0 1 - 1 0 AvD & BvE

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

It's 5c2 combinations.

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

Nm. Actually it's 5c2/2 if 2 games allowed per week.

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

AB, CD
BE, DA
AC, ED
CE, DB
EA, BC

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

1 2 3 4 5
1 x x week3 week5 x
2 week1 x x x week3
3 x week2 x x week5
4 x week4 week1 x x
5 week4 x x week2 x

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

12,34 - 1 Home game
13,24 - 2 Home game
23,14 - 3 Home game
34,15 - 4 Home game
45 - 5 Home game
25 - 5 has to play next week cause last one is their home game and haven't played with 2 before.

Total - 6

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.

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.