Ticket Puzzle:
Hidden data puzzles are commonly asked in Interviews. These puzzles make us analyze the hidden data in the questions.
Question:
There are N stations on a railway. After adding X stations 46 additional tickets, have to be printed. Find N and X?
Answer:
Total Tickets = (Total Stations)*(Total Stations- Boarding Station)
So,
N (N-1) = t
After adding X stations
(N+X) (N+X-1) = (t+46)
Solve: X=2, N=11
No comments:
Post a Comment