Stupidest Valentine Problem Ever!

The following letters are chosen :

L, N, T, E, V, E, N, A, I

When all the possible words (with or without meaning) formed using all the the above letters are arranged in alphabetical order, what is the position of the word V A L E N T I N E VALENTINE


The answer is 81226.

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.

3 solutions

Tarun Singh
Feb 23, 2015

first arrange all alphabetically , AEEILNNTV
then fix a letter and find total words which can be made with it

words with A | 8! / 2! 2! ..........[dividing by 2! 2! because of two N s and E s]
words with E | 8! / 2!
words with I | 8! / 2! 2!
words with L | 8! / 2! 2!
words with N | 8! / 2!
words with T | 8! / 2! 2!

Now with V,
VAE | 6! / 2!
VAI | 6! / 2! 2!
VALEE | 4! / 2!
VALEI | 4! / 2!
VALENE | 3!
VALENI | 3!
VALENN | 3!

VALENT | EIN 1
VALENT | ENI 1
VALENT | IEN 1
VALENT | INE 1

summing all , we get - 81226

AWESOME Please like and reshare............ these kind of problems are hard to be found on brilliant

Vaibhav Prasad - 6 years, 3 months ago

Log in to reply

Thanks,
do you know any other (tricky) method?

Tarun Singh - 6 years, 3 months ago

Log in to reply

No, even i after thinking of the problem solved it through EXACTLY the SAME method

Vaibhav Prasad - 6 years, 3 months ago

You did not mean:

words with A | 8! / 2! 2! ..........[dividing by 2! 2! because of two N s and E s]

words with E | 8! / 2! ...

... ?

Thiago Martinoni - 6 years, 3 months ago

Log in to reply

Sorry, fixed it

Tarun Singh - 6 years, 3 months ago

is there some alternative to this method...because it takes heavy time..

manish bhargao - 6 years, 3 months ago
Brock Brown
Feb 20, 2015

Python:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
from itertools import permutations
combos = set()
word = 'valentine'
for combo in permutations(word):
    combos.add(''.join(combo))
combos = list(combos)
combos.sort()
for index in xrange(len(combos)):
    if combos[index] == word:
        break
print "Answer:", index + 1

Jithin Saseendran
Feb 20, 2015

I used the permutation Method but it is time consuming.

Is there any Shortcut method ?

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...