Hi bubbly,
Just wanted to know if you are facing any problem with these questions or you are just posting for the sake !!
Don't get me wrong, since these are very basic question, so I would recommend you to go through basics before you start attempting questions. That will boost your confidence and performance as well.
The problem here on BTG is that due to so many threads its difficult to keep track of good questions. We should make optimum use of forum.
Of course, you can ask your doubts here. Since, I don't see any doubt or any approach that you tried out for this problem, I am not sure how much the solution posted by "kvcpk" helped you.
I am on a break !!