Monthly Archives: August 2010

Sequences

Aadarsh is fond of special type of sequences which are first increasing then decreasing then increasing then decreasing and so on or which are first decreasing then increasing then decreasing and so on like 1,2,1,2,1,2 or 2,1,2,1,2,1 respectively. He wants … Continue reading

Posted in Information Technology | Leave a comment

Rats

The two renowned MCA scientists, Khan Saab and JayB are studying the growth of an idealized (biologically unrealistic) rat population. They experiment with a newly-born pair of rats kept in a field. They observe that rats are able to mate … Continue reading

Posted in Information Technology | Leave a comment

Longest Paths

Your goal is to develop a program that computes the length of the longest path that can be constructed in a given graph from a given starting point. You can assume that the graph has no cycles (there is no … Continue reading

Posted in Information Technology | Leave a comment

Windows 7 “Colors of India” Theme

Check out river Narmada making its way through the Marble rocks at Jabalpur. That picture was taken by me with a Sony Cybershot DSC P200 camera on 1st June 2009. http://windows.microsoft.com/en-us/windows/downloads/personalize/themes

Posted in Hobbies | Leave a comment

Maximum number of rings

There are a number of rings lying on the floor. Any two rings can intersect at two points, may not intersect at all, or touch each other at a single point. Two rings can be lifted simultaneously if and only … Continue reading

Posted in Information Technology | Leave a comment

Finding Names

Kapil is a number freak. Kapil likes to play with Sets. He is also obsessed with the name Kapil. He likes to calculate the number of times Kapil can be generated from a given text. From the above paragraph Kapil … Continue reading

Posted in Information Technology | Leave a comment

Higher n higher

Kapil is climbing the steps of his office after meeting Anshuman. The length of a step must be nonnegative and can be by one bigger than, equal to, or one smaller than the length of the previous step. Since his … Continue reading

Posted in Information Technology | Leave a comment