Largest Area

May 10 Question of the week

Given N non-negative integers representing the histogram's bar height where the width of each bar is 1. Find the area of the largest rectangle in the histogram.

Staircase to success

May 3

You are N steps away from working in your dream company. You can either climb 1 step or 2 steps at a time. In how many distinct ways can you climb to the top where your Dream company is?

Largest Family

May 3

Ravi has a dream to be a King. One of the rule in his kingdom will be that for a couple to name their kids they have to choose only from certain number of alphabets.

Roomies

May 3

Sita and Gita are roomies. One of them always forgets to carry room's key and use to call the other for help. So, their friend Seema had a superb plan.