Frog puzzle to cross the river


A frog wants to cross a river that is 11 feet across.

There are 10 stones in a line leading across the river, separated by 1 foot. He can either jump to the next stone or jump over a stone, and if he jumps over a stone he must land on the next one. The furthest he can jump is 2 feet. Also, he always moves forward (toward the other side of the river). In how many different ways can he cross the river?

For example, one way to cross would be 1,2,2,1,1,2,1  with representing the frog moving 1 foot forward to the next stone, and representing the frog jumping over one stone, moving 2 feet forward.

The total distance jumped must be 11 feet; that is, if the frog is at 10 feet, the frog can’t jump by 2 feet.

Hint: What are the possible conditions before getting to the stone?

Bonus: Try to come up with a recursive routine to calculate this value for  stones.


Correct answer: 144

To get to (n+2)th stone, he could either come from (n+1)th  stone or nth  stone. For instance, the frog can either get to 5th  stone from 4th  stone or from the  3rd stone.

Let’s examine what this means with a few smaller examples. If there is one stone, then the frog can either jump on it, or jump over it:

Option 1 Stone
1 On
2 Over

If there are two stones, then the following options are available:

Option 1 Stone 2 Stone
1 On On
2 On Over
3 Over On

There are only 3 options, because the frog cannot jump over two stones straight to the other side. At most his jumps take him 2 feet forward.

If there are three stones, then the following options are available:

Option 1 Stone 2 Stone 3 Stone
1 On On On
2 On On Over
3 On Over On
4 Over On On
5 Over On Over

There are 5 options.

This is actually enough to start seeing a pattern. The number of ways to get to the 3 stone is a3 = a2+a1  or 5 = 3 +2 . If you continue with 4, 5, 6, etc. stones, you’ll find that this pattern continues. So, the number of ways to get to nth   stone is an = an-1+ an-2 or the famous Fibonacci numbers.

With this formula we can predict the 11 stone as the 11 term of the Fibonacci sequence,


Simple algorithm for fibonacci series:

def fibonacci(n):
        if n < 0:
                raise ValueError("invalid index!")
        if n==0:
                return 0
        if n==1:
                return 1
        return fibonacci(n-1) + fibonacci(n-2)

Why words matter?

Words!! From the ancient period to the modern world, from the early man to modern people, from the ancient scripts to the modern WhatsApp emojis, the one thing is still unchangeable, it is nothing but the words. The style and fonts of the words change periodically with the evolution of time, but it uniquely conveys something to the world.
A proverb, “A Pen is mightier than Sword” clearly explains the power of words in this world. Words are nothing but the facts that conveys something to the society. A positive word becomes the vibrations and inspirations to the person and the negative words become threats to the person.
There is a saying that “Our mind is the best servant but worst master”. The words that arise in our mind also follow the same. One of greatest Tamil poet and the philosopher, Thiruvalluvar, has literally narrated the power of words in just seven words.
“When pleasant words are easy, bitter words to use, Is like, leaving sweet ripe fruit, the sour unripe to choose.”
Words have the power to create an impact in the readers or the listener’s mind. According to the butterfly theory, the butterfly wings has the power to cause the hurricane in China. Then what about our words? Words are an extremely super power which should be handled with care.
The deadliest weapon is nothing but one’s tongue. It has the most supernatural power to kill the person instantly. Words spoken from a podium must be heard. Jokes cracked in private must be ignored.
In the famous water crystal experiments conducted by Dr. Masaru Emoto, words were shown to have a transformative impact on a molecular level. Words like JOY, LOVE, GRATITUDE were taped on water containers. Then the water was frozen into crystals that, when observed under a microscope, looked like beautiful and uniquely patterned snowflakes. But when words like HATE or FEAR were used, the crystals were disfigured, asymmetrical, or unformed.
Even the crystal shapes become beautiful while using smoothly. Then you, not our human life? Try to use the power of words as because of word matters!!!
Ramya Chinnadurai

Lifestyle of Short filmmakers

Each and every day in our life is like a movie, in which we are the lead role and all others play their role in your life.Some will gain knowledge through their education, others through their experience. But according to psychology, every human is learning something new from each film he/she watches.


Image Source:

Lights, Camera, Rolling, Action!!

Short filmmaker – it is one of the words, which describes many people’s passion, aim, hard work, success and even failure too. Short filmmakers are like startup founders. Both of them have a lot of similarities between them. Short filmmakers are actually entrepreneur by thought and leaders by the act. Nowadays travel becomes short but the experience remains the same. Starting from test match to T20, Bus travel to Hyperloop, hardcover books to PDF, entertainment is also evolved much in its own terms. you don’t always need three hours movies to express or understand something, maybe five minutes short film can do that.

The short film is not meant it’s less effort, actually, its has much extensive effort than silver screen movies.Let’s see short filmmakers qualities in their lifestyle which makes them great for their art.

The story is everywhere: They began to search the story in everywhere in their day-to-day life and pick what touches the most. Every action may or may not have a reaction but they believe that every person has his/her own story. Their fine sensitivity of forward thinking made them relate stories with unrelated things.

Minimalist thinking approach – short is art.
World becoming short in everything, so the way of expressing thoughts are also getting short and deep. Now we are taking less time to travel much distance similarly short films gives long travel experience in short span of time.


FB likes, shares, comments, and views are the new mode of encouragement:
Inspiration and encouragement can come from anywhere and anytime in the world, sometimes unknown people may notice your talent whereas well-known people missed noticing. Short filmmakers give much care to social audience. In the social world, they face lots of people who are not familiar with each other, but these alien-stars are the source of motivation for these people.


Think big, start small:
Every expert once beginner – this is how every creator nurturing themselves. So short filmmakers too.


Learn from feedback:
Listen to everyone’s opinion but follow opinion from your heart. Be open to listening everyone’s feedback, acceptance is the another step in maturity. Short filmmakers are love to hear the audience. They want to closely work with the reality of the world.


Listening and reading:
Every creator should be a great observer, listener, and reader. They start to observe anything from starting of the day. They may be scared to experiment in chemistry lab but in their art every day they do an experiment to get untold chemistry between characters.


Do with what you have:
Short filmmakers are the kind of people who are happy with what they have, they won’t wait for much time to get everything fine. They will execute anything with what they have in hand. You don’t always need multiplex theater to showcase your film, YouTube is more than enough to showcase your talent. Doopaadoo is on the other hand to express your musical spirits.


Restless passion:
Passion is the only factor that driving them crazy. For others, it may be nothing but for themselves it is everything. 3D’s are important for every short filmmaker – Determination, Dedication, and Discipline in work. This is how we can define short filmmakers passion.


The team is the best theme:
You cannot be successful in a big way alone. You need help. You need an audience. It does not matter what your dream is. Appreciation is the greatest gift for mankind and motivation from surroundings helps to reach greater positions. The best team can create the best theme, this is how short filmmakers build their team with love and care. They build the team with emotional. this is the reason they making successful combination even after making the successful mark on a silver screen like director Atlee’s cinematographer George C. Williams and much more.


Everyone is Kamala Hassan – multi-talented:
When you don’t have many things then you should be everything. Makers are not the boss, actually, they are the original leaders. They invest themselves in building their craft. Short filmmakers are really likely to be initiator so that we can see them in multiple roles like direction, music, acting etc. They treat everyone with warm-hearted.