TCS Company

There is a King telling a story that there are three friends Alen, Karan and Helen They went to a picnic for a long tour. They enjoyed well. They carried all necessaries which they want to utilize there. Here Alen age is 3 times the age of Helen 3 years ago. Helen is twice the age of Karan after 2 years. What is the present age of Alen.

Read Solution (Total 4)

TCS Other Question

An equation of the form 7x+17y+ 3z=54. Find the difference between x intercept and z intercept? Alice and Bob play the following coins-on-a-stack game. 100 coins are stacked one above the other. One of them is a special (gold) coin and the rest are ordinary coins. The goal is to bring the gold coin to the top of the repeatedly moving the topmost coin to another position in the stack. Alice starts and the players take turns. A turn consists of moving the coin on the top to a position I below the top coin (for some I between 0 and 100). We will call this as i-move (thus a 0-move implies doing nothing). The proviso is that an i-move cannot be repeated, for example once a player makes a 2-move, on subsequent turns neither player can make a 2-move. If the gol coin happen to be on the top when it’s a player’s turn then the player wins the game. Initially, the gold coin is the third coin from the top. Then

In order to win, Alice’s first move should be a 1-move.
Alice has no winning strategy.
In order to win, Alice’s first move can be a 0-moveor a 1-move.
In order to win, Alice’s first move should be a 0-move.