TCS Company

Consider all permutations (i.e. arrangements) of the digits 1, 2 and 3. We will say that a hit has been scored if at least one digit occurs in its proper position in the permutation, i.e. if 1 occurs in the first position, or 2 in the second position, or 3 in the third position. In how many of these permutations is a hit scored?

Read Solution (Total 8)

TCS Other Question

Write an email to the project leader apologizing for a delay in project.

Accounts payable project-3weeks-ill-expert-cholera-project delay-need-clarification.
A lady has fine gloves and hats in her closet - 25 blue, 7 red, and 9 yellow. The lights are out and it is totally dark. In spite of the darkness, she can make out the difference between a hat and a glove. She takes out an item out of the closet only if she is sure that if it is a glove. How many gloves must she take out to make sure she has a pair of each color ?