InterviewSolution
Saved Bookmarks
| 1. |
In the kingdom of YAMRAJ, there are certain number of souls in a particular day. Where a single soul can merge with another soul in every second and thus two souls reduced to a single soul and if any soul can not merge with anyother soul in a particular second then it has to become a ghost and suffer in the hell. Thus every soul tries to avoid to become a ghost, but after a certain time it has to go to hell after maximum possible survival. If after n seconds there are k souls left, then what is the maximum number of souls there can be intially in a particular day? |
|
Answer» `2^(KN)` |
|