Interesting puzzle asked in HRT interview
Hi, may be I do not understood the problem but what about the following sequence of the 14 numbers which has 7 numbers that are strictly major of their adiacente numbers ?
2 1 4 3 6 5 8 7 10 9 12 11 14 13
Many thanks in advance for your answer
The question asked average number of maxima. This is to be calculated over all possibilities of 14! sequences.(not for a particular permutation)
Hi, may be I do not understood the problem but what about the following sequence of the 14 numbers which has 7 numbers that are strictly major of their adiacente numbers ?
2 1 4 3 6 5 8 7 10 9 12 11 14 13
Many thanks in advance for your answer
The question asked average number of maxima. This is to be calculated over all possibilities of 14! sequences.(not for a particular permutation)