practice problems pending
Q1. On a board, the numbers a, b, c, d, e, f are written in a circle (say counter-clockwise). You may increase two neighbouring numbers by 1. For which case is it impossible to equalize all of them by a sequence of such steps?
Select any one option
a = 4, b = 10, c = 5, d = 6, e = 9, f = 2
a = 3, b = 9, c = 7, d = 6, e = 9, f = 4
a = 4, b = 11, c = 7, d = 7, e = 10, f = 2
a = 7, b = 10, c = 5, d = 8, e = 9, f = 3
S1.
First a partially correct approach which works in this case but will not work always.
Final sum of all numbers is even.
All the increments are also even.(multiple of 2)
So the original sum of all the numbers should also be even.
Only option 3 fails. Hence that's the answer.
But that approach fails for:
a=2,b=4,c=2,d=4,e=2,f=4
So the better way to solve it is this:
Let there be 2 groups:
Group 1: a,c,e
Group 2: b,d,f
Each time we increment, we increment by 1 in each group.
So the original sum in both the groups should be same.
Else it won't work.
Q2.
On a 10x10 board all squares are initially 'normal'. You can infect any (K)-many squares on the board. If a 'normal' square has two or more 'infected' neighbours, it will become 'infected' and the infection will thus spread. What can be the minimum value of (K), if you want to infect the whole board?
S2.
Let's assume neighbors to be the cells which share an edge.
For the entire board to be infected, the outer perimeter will be 40 units.
Now, let's see what happens when the infection spreads?
Whenever a new square gets infected, the outer perimeter either decreases or stays the same.
It never increases.
So the initial perimeter has to be at least 40.
=> 4K >= 40 => K >= 10.
But how do you place them?
Simplest is to put the along a diagonal.
But you can also put them in such a way that no 2 infected squares share a row or a column.
This solution may not strike us immediately. So how to build it from ground up?
Start with 1x1, 2x2 and you will see that placing along the diagonal works.
Then with 3x3 as well. This gives you the hint about how it will eventually work for larger grids.
Q3.
A knight is placed on an empty chessboard, and two players alternately move it. After each player has made 17 moves, the knight will be on the _____ square.
S3.
Same color as original.
Q4.
You and your friend are playing a game. Start counting from 1 till N. Each one of you will take turns and say 1,2 or 3 numbers. The one to say N will win the game. If you're going second, what value of N will let you win?
Options: 32,53,47,70
S4.
It is easy to see that if you say out the number N-4, you will win.
Taking it backwards, if you say out the number N-8, N-12 ... you will win.
If N is not a multiple of 4, then the player 1 will always win.
If N is a multiple of 4, then the player 2 will win.
So the answer is 32.
Comments
Post a Comment