Time to train - 2

Logic Level 3

After the gruesome challenge ( PART -1 ) ,Professor McGonagall decides to test Harry with one of her favourite puzzles.

In a party, Minerva and her friends decide to play a party game with cards. There are 20 cards arranged in a row on a table. Each card is showing a positive integer. On each player's turn,he is allowed to take either the left most or right most card. This is done until all the cards are taken. The winner is the player who has the greatest sum of numbers on his/her cards.

What should be Minerva's first move so that she can win the game?

The sequences are:

A - 2 11 13 8 12 5 6 8 9 21 10 7 15 17 18 4 16 18 19 1

B - 12 18 13 4 8 16 17 5 3 19 21 1 6 11 12 18 14 15 6 9

She cannot win in any case 2 from A and 9 from B 2 from A and 12 from B 1 from A and 12 from B 1 from A and 9 from B

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Kaustubh Miglani
Jul 17, 2017

hint-Colour cards alternatively and see the sum!

@naitik sanghavi Pls give me the paper pls of technothlon 2017

Kaustubh Miglani - 3 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...